I would see how to use websocket inside the page for updating.
You can implement this with Faye , which returns to lengthy polls and other workarounds for browsers without websocket support. Faye has a pure ruby โโimplementation, so you can probably access your model level.
Edit:
It is also a project that integrates Faye with Rails. This is fairly new, but it can do what you want. Faye-rails
ebeland
source share