Paperclip
Back to Web-Dev
gem availble in ruby, provides
- file uploading
- validations and callbacks
- post-processing (thumbnail generation)
- Amazon S3
Prerequisites
- Ruby 2.0+, Rails 3.2+
- ImageMagick
gem "paperclip", "~> 4.2"
bundle install
Setup
rails generate paperclip photo image
, where photo
is the table.