Fetch third party data and store in rails application variable
Posted
by mark
on Stack Overflow
See other posts from Stack Overflow
or by mark
Published on 2010-03-22T20:53:55Z
Indexed on
2010/03/22
21:11 UTC
Read the original article
Hit count: 158
ruby-on-rails
|remote
Hi
I need to do periodical background task fetching data from a weather site.
How in rails can I fetch json from a remote url and store it on the server? Also, there doesn't seem to be any point in storing this in a db so how in rails can I store a variable available to all users?
© Stack Overflow or respective owner