NetManiac

Witold Rugowski on web20 wave with Ruby on Rails

Data for AJAX req in Rails on the fly - solution

Posted on September 30, 2006 - Filed Under AJAX, Ruby | Leave a Comment

There is solution with Rails helper to issue from my last post. Simple use :with to pass JavaScript variable name.
remote_function (:update => ‘results’,
:url => {:action => search_points}, :with => ‘dataForSearch’)
gives exactly what is needed:
new Ajax.Updater(’results’, ‘/route/search_points’,
{asynchronous:true, evalScripts:true, parameters:dataForSearch});
Popularity: 4% [?]

Popularity: 4% [?]

Read More..>>

Generating data for AJAX req in Rails on the fly

Posted on September 30, 2006 - Filed Under AJAX, Ruby | 1 Comment

UPDATE
It is possible - read in next post.
Well… I’m starting with AJAX, and my first impressions are very positive. I was skeptical to JS but more I try more I like it. Maybe I don’t like troubles with debugging (like - does know anyone if Venkmann can set breakpoint in JS code embedded in HTML, [...]

Popularity: 5% [?]

Read More..>>

JOE and Rails or how to color RHTML

Posted on September 28, 2006 - Filed Under FreeBSD, Ruby | Leave a Comment

I’m using JOE as my text editor. I’m used to it and it is hard to change own habits. When I have got interested in Rails, I tried some other editors with support for Rails/Ruby (for UNIX text terminals). I was very close to use VIM with plugins for Rails. But to much habits from [...]

Popularity: 4% [?]

Read More..>>

Consultant

Posted on September 27, 2006 - Filed Under Links, Other | 1 Comment

As some may remember I hate consultants. Well, on Guy’s Kawasaki blog I found nice definition of consultant - someone who can’t do but can write. And I have to agree ;-))
Popularity: 4% [?]

Popularity: 4% [?]

Read More..>>

Got some change?

Posted on September 26, 2006 - Filed Under Links, Other | Leave a Comment

Well it looks like cell phone become standard commodity ;-) I wonder if world outside of US is ready for such ideas… When I look at folks in Arkadia (hi there) in Warsaw… it would do for sure :-)

Motorola takes cell phone impulse-shopping to new levels

Popularity: 3% [?]

Popularity: 3% [?]

Read More..>> keep looking »