Seems like periodically_call_remote is deprecated in Rails 3, any ideas how to achieve the same functionality?
This is what you need for a periodic ajax call, replace some_path with your own RESTful route:
<%= javascript_tag do -%>
$(document).ready(
function(){
setInterval(function(){
$.ajax({
url: "<%= some_path %>",
type: "GET",
dataType: "script"
});
}, 60000 );
});
<% end -%>
The index.js.erb file would look like this:
$('#mydiv').html("<%= escape_javascript( render( :partial => 'my_partial' ) ) %>");