# Update a div at regular intervals in Rails 3 without Prototype\_Legacy\_Helper plugin?

**URL:** <https://www.ruby-forum.com/t/update-a-div-at-regular-intervals-in-rails-3-without-prototype-legacy-helper-plugin/188641>\
**Category:** Rails\
**Created:** [May 15, 2010, 10:05am UTC](https://www.ruby-forum.com/t/update-a-div-at-regular-intervals-in-rails-3-without-prototype-legacy-helper-plugin/188641 "2010-05-15T10:05:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pconnordctt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/db5fbb/32.png) [@pconnordctt](https://www.ruby-forum.com/u/pconnordctt)\
**Post date:** [May 15, 2010, 10:05am UTC](https://www.ruby-forum.com/t/update-a-div-at-regular-intervals-in-rails-3-without-prototype-legacy-helper-plugin/188641/1 "2010-05-15T10:05:22Z")

</div>

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.
