hi, folks - Suppose I have a stream of data coming in periodically, what would be best way of displaying a table with dynamic update? Are there any "rails way" of doing this? thanks in advance, Oliver --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 04 Apr 2007, at 16:35, Oliver wrote:> > hi, folks - > > Suppose I have a stream of data coming in periodically, what would be > best way of displaying a table with dynamic update? Are there any > "rails way" of doing this?Put a periodical updater in your view :-) Then call a method that queries the data, then renders a partial via RJS (make sure your periodical updater is placed OUTSIDE this partial). This page has some info on this: http://ajax.stealthsettings.com/ tutorial/periodically-make-a-remote-call.html Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
exactly what I need. thanks Peter. Oliver On Apr 4, 10:50 am, Peter De Berdt <peter.de.be...-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> On 04 Apr 2007, at 16:35, Oliver wrote: > > > > > hi, folks - > > > Suppose I have a stream of data coming in periodically, what would be > > best way of displaying a table with dynamic update? Are there any > > "rails way" of doing this? > > Put a periodical updater in your view :-) Then call a method that > queries the data, then renders a partial via RJS (make sure your > periodical updater is placed OUTSIDE this partial). > > This page has some info on this:http://ajax.stealthsettings.com/ > tutorial/periodically-make-a-remote-call.html > > Best regards > > Peter De Berdt--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---