So I tried to deploy this last night to heroku and use S3 for storage but I was blocked by the Missing validation due to the upgrade to Paperclip ~4.1.0 which strongly restricts you to having to include explicit content type and file extension information to your application.
For the moment I have this patch with includes the validation for S3 and then skips validation so you can still upload whatever you want. The alternative is to rollback the Paperclip gem to ~3.5.4 which I am currently doing in production.
Commit Info
Not checking validations on attachments save for paperclip 4.0
In the new version of paperclip content spoofing validation interferes with uploading whatever you want
Additionally added I18n translation and call to required paperclip validation
Adding arel and tzinfo because they were expected to resolve some dependency
So I tried to deploy this last night to heroku and use S3 for storage but I was blocked by the Missing validation due to the upgrade to Paperclip ~4.1.0 which strongly restricts you to having to include explicit content type and file extension information to your application.
For the moment I have this patch with includes the validation for S3 and then skips validation so you can still upload whatever you want. The alternative is to rollback the Paperclip gem to ~3.5.4 which I am currently doing in production.
Commit Info
Not checking validations on attachments save for paperclip 4.0