# How to refresh a table regularly

**URL:** <https://www.ruby-forum.com/t/how-to-refresh-a-table-regularly/157679>\
**Category:** Rails\
**Created:** [January 14, 2009, 11:48am UTC](https://www.ruby-forum.com/t/how-to-refresh-a-table-regularly/157679 "2009-01-14T11:48:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [January 14, 2009, 11:48am UTC](https://www.ruby-forum.com/t/how-to-refresh-a-table-regularly/157679/1 "2009-01-14T11:48:01Z")

</div>

Dear all

I have the following code in views. Can someone give me some hints how  
to refresh the

 say every 5 seconds? I have really no  
idea to do so. Thank you.

views/test/main.html.erb

\<%= render :partial =\> "test\_list" %\>

Millions thanks  
Valentino

---

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [January 14, 2009, 11:59am UTC](https://www.ruby-forum.com/t/how-to-refresh-a-table-regularly/157679/2 "2009-01-14T11:59:04Z")

</div>

On 14 Jan 2009, at 11:48, Valentino L. wrote:

> I have the following code in views. Can someone give me some hints how  
> to refresh the
> 
> say every 5 seconds? I have really  
> no  
> idea to do so. Thank you.
> 
> views/test/main.html.erb
> 
> \<%= render :partial =\> "test\_list" %\>

[http://www.railsbrain.com/api/rails-2.2.2/doc/index.html?a=M002042&name=periodically\_call\_remote](http://www.railsbrain.com/api/rails-2.2.2/doc/index.html?a=M002042&name=periodically_call_remote)

Best regards

Peter De Berdt
