Seems like periodically_call_remote
is deprecated in Rails 3, any ideas how to achieve the same functionality?
Use setInterval to periodically run a function which invokes an AJAX call. If you were doing it with jQuery, it might be something like:
var pollBackend = function() {
$.getJSON("/foo/bar/poll");
}
setInterval(pollBackend, 5000);
This would attempt to poll the given URL for JSON data every 5 seconds.