-
-
Save leemcalilly/95c54a5df4e4ee6518da to your computer and use it in GitHub Desktop.
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
class Photo < ActiveRecord::Base | |
mount_uploader :image, ImageUploader | |
validates_presence_of :image | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment