Created
November 20, 2010 20:40
-
-
Save luckydev/708137 to your computer and use it in GitHub Desktop.
paperclip and s3
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
#example code to use paperclip and s3 | |
has_attached_file :photo, | |
:style=>{:thumb => "35x35",:medium=>"175x175"}, | |
:storage => :s3, | |
:s3_credentials => "#{Rails.root.to_s}/config/s3.yml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment