Ask A Question

Notifications

You’re not receiving notifications from this thread.

Call Api and Auto-Reload div.

Rodrigo asked in Rails

Hello!

I want to setup a script that calls api from various webistes and retrieve data every n seconds.

I'd like to setup a page where data(numbers) are showing auto-reload constantly.

Which is the best method to do this? Have I to create the script in the controller or directly with javascript?

Have I setup an auto-reload div or something similar for the live reload?

Thank you.

Reply

have I to setup Action Calbe or a rake job or something else or directly with javascript/jquery?

Thank you very much!!!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.