{"action":"closed","issue":{"url":"https://api.github.com/repos/activeadmin-plugins/active_admin_import/issues/80","labels_url":"https://api.github.com/repos/activeadmin-plugins/active_admin_import/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin-plugins/active_admin_import/issues/80/comments","events_url":"https://api.github.com/repos/activeadmin-plugins/active_admin_import/issues/80/events","html_url":"https://github.com/activeadmin-plugins/active_admin_import/issues/80","id":118596347,"number":80,"title":"sqlite3 vs postgress","user":{"login":"basplas","id":14781072,"avatar_url":"https://avatars.githubusercontent.com/u/14781072?v=3","gravatar_id":"","url":"https://api.github.com/users/basplas","html_url":"https://github.com/basplas","followers_url":"https://api.github.com/users/basplas/followers","following_url":"https://api.github.com/users/basplas/following{/other_user}","gists_url":"https://api.github.com/users/basplas/gists{/gist_id}","starred_url":"https://api.github.com/users/basplas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basplas/subscriptions","organizations_url":"https://api.github.com/users/basplas/orgs","repos_url":"https://api.github.com/users/basplas/repos","events_url":"https://api.github.com/users/basplas/events{/privacy}","received_events_url":"https://api.github.com/users/basplas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-24T12:16:01Z","updated_at":"2015-11-25T19:48:35Z","closed_at":"2015-11-25T19:48:35Z","body":"Hi there,\r\n\r\nI have a development environment with `sqlite3` and a production (Heroku) environment with `postgress`. The gem works fine for the local version, but tells me `You can import only valid csv file` when I try to import the same file into the production environment.\r\n\r\nHere is part of my heroku logs:\r\n```\r\n2015-11-24T11:55:26.504300+00:00 app[web.1]: Processing by Admin::ProductsController#do_import as HTML\r\n2015-11-24T11:55:26.504458+00:00 app[web.1]:   Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"Nnqs3Jb/LfqrIOUvrPUT9Y4lRzh9YpaSGyFct2d19WNMYz/RzAsi59G99/LvyXXLuolAB5jgCiKDTzYvzTGa8Q==\", \"active_admin_import_model\"=>{\"file\"=>#<ActionDispatch::Http::UploadedFile:0x007f6e05b1c040 @tempfile=#<Tempfile:/tmp/RackMultipart20151124-3-a4lxja.csv>, @original_filename=\"algemene-test-products.csv\", @content_type=\"text/x-comma-separated-values\", @headers=\"Content-Disposition: form-data; name=\\\"active_admin_import_model[file]\\\"; filename=\\\"algemene-test-products.csv\\\"\\r\\nContent-Type: text/x-comma-separated-values\\r\\n\">}, \"commit\"=>\"Import\"}\r\n2015-11-24T11:55:26.512911+00:00 app[web.1]:   AdminUser Load (1.8ms)  SELECT  \"admin_users\".* FROM \"admin_users\" WHERE \"admin_users\".\"id\" = $1  ORDER BY \"admin_users\".\"id\" ASC LIMIT 1  [[\"id\", 2]]\r\n2015-11-24T11:55:26.528978+00:00 app[web.1]: DEPRECATION WARNING: action_class is deprecated and will be removed from Formtastic 4.0 (configure Formtastic::FormBuilder.action_class_finder instead (upgrade guide on wiki: http://bit.ly/1F9QtKc )). (called from realtime at /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/benchmark.rb:296)\r\n```\r\nAny ideas on what's going on?\r\n\r\nCheers,\r\nSebastian"}}