maybe this will fix it
Overriding paperclips file validation to avoid unprocessable entity error on upload on Heroku
Upload helper returning blank if crash during share parsing to fix heroku crash
Moving the catch to the inner loop
changed model.where synatx to use double quotes in outer LIKE clause, so that PG on Heroku will stop barfing