我遇到了一个问题,升级到AWS-SDK(而不是aws-s3)和更新版本的paperclip后,我无法再调用AWS :: S3 :: Base.establish_connection!
在我的代码中,无论在哪里调用
AWS::S3::Base.establish_connection!(:access_key_id => '****', :secret_access_key => '***')
我收到了这个错误...
NameError (uninitialized constant AWS::S3::Base):
app/models/asset.rb:28:in `move_upload_from_temp_to_final_resting_place'