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
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
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
exactly what I need. thanks Peter.
Oliver