title: Save CSV file in paperclip attachment (No handler found for <#CSV io_type:File io_path)
body: <p>I have a file created by CSV.open(..., "w", ...) that I've written data to, referenced by @summary_data, and now want to save as a paperclip attachment in my_model. What's the correct syntax, I tried:</p>
  
  <pre><code>my_model.update_attributes(summary_data:  @summary_data)
  </code></pre>
  
  <p>but it gives the error:</p>
  
  <pre><code>Paperclip::AdapterRegistry::NoHandlerError Exception: No handler found for &lt;#CSV io_type:File io_path:"...
  </code></pre>