ActiveStorage
Add ActiveStorage to your Rails app
Used 249 times
B
Benjamin Darcet
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/zJosLx"
Template Source
Review the code before running this template on your machine.
rails_command "active_storage:install"
rails_command "db:migrate"