public
Last active

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10
has_attachment :content_type => :image,
:max_size => 5.megabytes,
:resize_to => '800x800>',
:storage => :s3,
:s3_access => :authenticated_read,
:thumbnails => {
:thumb => '100x100>',
:small => '168x168>',
:mid => '400x400>'
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.