storage_test.rb
10.7 KB
-
:s3_credentials will now accept a Pathname · 95fc7b6a
Rails.root returns a Pathname and you can now declare your attachment without having to call #to_s first: has_attached_file :avatar, :storage => :s3, :s3_credentials => Rails.root.join('s3.yml') (cherry picked from commit 65d7600b7246cb3bd8f10805fb618e5839694318)
Mike Breen committed