Update a div at regular intervals in Rails 3 without Prototype_Legacy_Helper plugin?

I am working through an exercise written for Rails 2.x and I am trying
to adapt it to work in Rails 3.

Rails <3 Code:

<%=periodically_call_remote (:url => "/flights/#{@flight.id}/
seats", :frequency => "10", :update => "seats")%>

Any help is greatly appreciated.