You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
Stefan Lyew edited this page Sep 29, 2016
·
2 revisions
Paperclip is now compatible with aws-sdk >= 2.0.0.
If you are using S3 storage, aws-sdk >= 2.0.0 requires you to make a few small
changes:
You must set the s3_region
If you are explicitly setting permissions anywhere, such as in an initializer,
note that the format of the permissions changed from using an underscore to
using a hyphen. For example, :public_read needs to be changed to
public-read.
For those using Paperclip with :s3_server_side_encryption: Note that AWS no longer accepts :aes256 as an encryption value and will raise Aws::S3::Errors::InvalidArgument with the message The encryption method specified is not supported. The value should instead be "AES256".