ActiveStorage

https://edgeguides.rubyonrails.org/active_storage_overview.html

Active Storage facilitates uploading files to a cloud storage service like Amazon S3, Google Cloud Storage, or Microsoft Azure Storage and attaching those files to Active Record objects. It comes with a local disk-based service for development and testing and supports mirroring files to subordinate services for backups and migrations.
storage 74 0

Fork

Dave Kimura
Dave Kimura

May 18, 2020

Copy and paste this code into your terminal

DISCLAIMER: You should always review templates before running them. By running the template, you are agreeing to the terms of use.

The contents of this script as show. Any updates will be reflected in the below code and the snippet.

rails_command "active_storage:install"
rails_command "db:migrate"

A place where you can thank the author, post problems, give constructive feedback, etc. Be nice!