Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- has_attached_file :image,
- :styles => {original: '500x500#'}
- validates_attachment_content_type :image, content_type: /\Aimage\/.*\Z/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement