forked from thoughtbot/paperclip
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:s3_credentials will now accept a Pathname
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 65d7600)
- Loading branch information
Showing
2 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters