Skip to content
This repository
Browse code

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
Prem Sichanugrist authored February 28, 2012

Showing 1 changed file with 0 additions and 8 deletions. Show diff stats Hide diff stats

  1. 8  lib/paperclip/storage/s3.rb
8  lib/paperclip/storage/s3.rb
@@ -330,14 +330,6 @@ def find_credentials creds
330 330
       end
331 331
       private :find_credentials
332 332
 
333  
-      def establish_connection!
334  
-        @connection ||= AWS::S3::Base.establish_connection!( @s3_options.merge(
335  
-          :access_key_id => s3_credentials[:access_key_id],
336  
-          :secret_access_key => s3_credentials[:secret_access_key]
337  
-        ))
338  
-      end
339  
-      private :establish_connection!
340  
-
341 333
       def use_secure_protocol?(style_name)
342 334
         s3_protocol(style_name) == "https"
343 335
       end

0 notes on commit 9e38958

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