title: Rails: Where should a web scraping method live?
body: <p>A Rails architecture question:</p>
  <p>Basic problem is that I want to scrape several websites for products and bring them into the app to compare them.</p>
  <p>I want to go and fetch the data, then create or update based on the response.
  The controller will have the logic about whether to create or update the objects in the database, but <strong>where should the scraping script live?</strong></p>
  <p>It wants to get called by the controller and return a response. There will be one script for each external website and I can programmatically decide which script to call based on a stored variable.</p>