Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
S3 can't convert Array into string error #338
I update Paperclip from 2.3.3 to 2.3.4 and I have an issue with S3 uploading. To fix it I have to rollback to 2.3.3.
Here is my the errors:
can't convert Array into String
paperclip (2.3.4) lib/paperclip/storage/s3.rb:131:in `extname'
paperclip (2.3.4) lib/paperclip/storage/s3.rb:131:in `to_file'
Here is a patch that I've got to work in the meantime;
Actually this is safer, for the case the file doesn't have an extension