lib/paperclip-aws.rb in paperclip-aws-1.3.0 vs lib/paperclip-aws.rb in paperclip-aws-1.3.1

- old
+ new

@@ -135,10 +135,10 @@ @s3.buckets[@s3_bucket].objects[path(style)].write( file, :acl => @s3_permissions[:style.to_sym] || @s3_permissions[:default], :storage_class => @s3_storage_class.to_sym, :content_type => file.content_type, - :server_side_encryption => @s3_sse.to_s + :server_side_encryption => @s3_sse ) rescue AWS::S3::Errors::NoSuchBucket => e create_bucket retry rescue AWS::Errors::Base => e