Displaying 1 result from an estimated 1 matches for "do_some_periodic_thing".
2006 Jul 17
1
RJS and PeriodicalUpdater -- example?
In a controller, I''m trying to do
def do_some_periodic_thing
render :update
page << ''var foo = new Ajax.PeriodicalUpdater("someDiv",
"/some/path", {asynchronous:true, frequency:1, evalScripts:true} );''
end
end
In the view, I have
<%= link_to_remote "Test Periodical", :url => { :action =&g...