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.