From railscasts, published on 08/30/10
If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery.
From railscasts, published on 08/30/10