title: Rails 4.0 store temporary CSV file
body: <p>I am attempting to load a CSV file through a <code>submit_tag</code> form. I need the CSV contents to be stored in memory so that I can use them to send emails to all of the contacts loaded in from the CSV. I then need to scrap the CSV file and forget about it.</p>
  
  <p>Does anyone have a reference or tips on how to store a csv file into memory, perform some actions on it, and then forget about it?</p>