# From ajax to rails

**URL:** <https://www.ruby-forum.com/t/from-ajax-to-rails/184567>\
**Category:** Rails\
**Created:** [March 4, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/from-ajax-to-rails/184567 "2010-03-04T16:59:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [March 4, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/from-ajax-to-rails/184567/1 "2010-03-04T16:59:26Z")

</div>

Hi everyone:

I want to pass the next function to a rails in my view, because I tried  
it but the results donÂ´t be succesful. Anyone can help me? I know that  
Ajax.PeridicalUpdater is periodically\_remote call in ruby but donÂ´t know  
how to put in my view for obtain the same result that the following  
function. THANKS!!!
