title: Using Rails to get a json object from another website
body: <p>I have a Ruby script that queries another website that then provides a json file. I'm very new to Rails. I'm using the Heroku with 1 web dyno, and I don't want to add any more dynos. </p>
  
  <p>How do I get Rails to execute this script? Would I do it from the controller?</p>
  
  <p>Will executing the script result in a timeout?</p>
  
  <p>How would I save the json file so that I can do other things to it?</p>