Created
April 11, 2012 09:47
-
-
Save johanb/2358297 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class Photo < ActiveRecord::Base | |
| mount_uploader :photo, PhotoUploader | |
| end |
This file contains hidden or 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
| class PhotoUploader < CarrierWave::Uploader::Base | |
| storage :fog | |
| #extension whitelisting, and which versions (thumbs) to create | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment