Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have an index view in my Rails 3 app that has 3 different partials to it. Each partial has different data that I would like to be updated without the end-user having to refresh the page.

I've looked into polling some via a Railscast but am having a hard time with it. I'd like the partials to reload every 5-10 seconds and be unobtrusive to the end-user.

Can anyone provide an example on how to do this. I'm newish to Rails but comfortable with it, but very new to Jquery/Ajax.

Thanks in advance.

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.