Resize Images with Active Storage in Rails

We used to have to use gems like Carrierwave & Paperclip to upload files & manipulate images in Ruby on Rails. However we now have a fantastic library built into Rails called Active Storage which handles that for us.

 Setting up Active Storage

The first thing you need to do is run the install script, which will create a migration to add the Active Storage tables to your database.

.


Resize Images with Active Storage in Rails #ruby #rubydeveloper #rubyonrails #active https://rubyonrails.ba/single/resize-images-with-active-storage-in-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles