Is there a built-in way to do a periodic refresh in Rails? I would like to use setInterval() to make a g XMLHttpRequest call once a second. Does Rails support any inherent helper methods to make this easier? Thanks! Chirag ps. the pattern is described here: http://ajaxpatterns.org/Periodic_Refresh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
periodically_call_remote http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html#M000528 b chirag wrote:> Is there a built-in way to do a periodic refresh in Rails? > > I would like to use setInterval() to make a g XMLHttpRequest call once > a second. Does Rails support any inherent helper methods to make this > easier? > > Thanks! > Chirag > > ps. the pattern is described here: http://ajaxpatterns.org/Periodic_Refresh > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---