Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove obsolete `aws/s3` stuff

`AWS::S3::Base.establish_connection!` is not on the `aws/sdk`, and this code doesn't get used anymore.
  • Loading branch information...
commit 9e389588740c04bd682704cfc835f428f624b7cf 1 parent 17c5b8f
@sikachu sikachu authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/paperclip/storage/s3.rb
View
8 lib/paperclip/storage/s3.rb
@@ -330,14 +330,6 @@ def find_credentials creds
end
private :find_credentials
- def establish_connection!
- @connection ||= AWS::S3::Base.establish_connection!( @s3_options.merge(
- :access_key_id => s3_credentials[:access_key_id],
- :secret_access_key => s3_credentials[:secret_access_key]
- ))
- end
- private :establish_connection!
-
def use_secure_protocol?(style_name)
s3_protocol(style_name) == "https"
end

0 comments on commit 9e38958

Please sign in to comment.
Something went wrong with that request. Please try again.