title: What's the proper way to display data scraped via Nokogiri?
body: <p>In my application I have a field where users can enter a URL and then products will be scraped from that URL. I watched "<a href="http://railscasts.com/episodes/190-screen-scraping-with-nokogiri?autoplay=true" rel="nofollow" title="the Rails Cast on Nokogiri">Screen Scraping with Nokogiri</a>", and I created the result I wanted; I put in a URL and the data gets mined. </p>
  
  <ol>
  <li>How do I implement this into a Rails application?</li>
  <li>Do I put my code into a controller?</li>
  <li>Does Nokogiri work in controllers?</li>
  <li>Do I need to require Nokogiri?</li>
  <li>Do I use a Rake task?</li>
  <li>If I do use a Rake task, how do I put the user-submitted URL in that Rake task? I read on a previous SO post (not sure where) that executing Rake tasks from the controller is a big security no-no. </li>
  </ol>