title: rails app doesnt parse csv file on production
body: <p>Trying to parse a csv file to a rails db on a production on Ubuntu 13.10 (rails 4, ruby 2.1). </p>
  
  <pre><code>Processing by ProductsController#import as HTML
  I, [2014-01-14T15:59:37.341149 #7542]  INFO -- :   
          Parameters: {"utf8"=&gt;"✓",                
                       "authenticity_token"=&gt;"f6LcqRW4YDKC6G49pdSjCzio4xqi2Kge+CgREqPAdGs=", 
                       "file"=&gt;#&lt;ActionDispatch::Http::UploadedFile:0x000000060f77a0 
                               @tempfile=#&lt;Tempfile:/tmp/RackMultipart20140114-7542-1pqgays&gt;, 
                               @original_filename="products.csv", @content_type="text/csv", 
                               @headers="Content-Disposition: form-data; name=\"file\"; filename=\"products.csv\"\r\nContent-Type: text/csv\r\n"&gt;, 
                       "commit"=&gt;"Upload", 
                       "category_id"=&gt;"brus"}
  I, [2014-01-14T15:59:37.438414 #7542]  INFO -- : Redirected to http://...
  I, [2014-01-14T15:59:37.438616 #7542]  INFO -- : Completed 302 Found in 97ms
                                                   (ActiveRecord: 41.3ms)
  </code></pre>
  
  <p>No results and the db does not change. But on development (os x) it works fine.</p>