CarrierWave is a gem that provides a simple way for you upload files from Ruby applications.
Get started with installing the latest Gem version.
Next you’ll want to add the gem to Gemfile.
The mini_magick gem is an interface between the ImageMagick program & your Ruby code. It allows you to customize your images.
Generate an uploader by running: rails generate uploader image