File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,8 @@ Useful also with platforms like Heroku (due to their ephemeral file system).
1010
1111## Installation
1212- Setup Active Storage in your Rails application
13- - Add this line to your Gemfile: ` gem 'active_storage_db' `
14- - And execute: ` bundle `
15- - Install gem migrations: ` bin/rails active_storage_db:install:migrations `
16- - And execute: ` bin/rails db:migrate `
13+ - Add to your Gemfile ` gem 'active_storage_db' ` (and execute: ` bundle ` )
14+ - Install the gem migrations: ` bin/rails active_storage_db:install:migrations ` (and execute: ` bin/rails db:migrate ` )
1715- Add to your ` config/routes.rb ` : ` mount ActiveStorageDB::Engine => '/active_storage_db' `
1816- Change Active Storage service in * config/environments/development.rb* to: ` config.active_storage.service = :db `
1917- Add to * config/storage.yml* :
You can’t perform that action at this time.
0 commit comments