From 0e54b8be0546a4b575f4fe585f4da053cecf3c3d Mon Sep 17 00:00:00 2001 From: Marat Galiev Date: Fri, 7 Jul 2017 14:45:50 +0300 Subject: Update README.md For the first look It's obvious, but makes sense I think, and raises undefined method `active_storage' on migration run for example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06af5a5417..08bd0844c2 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ end ## Installation -1. Add `require "active_storage"` to config/application.rb. +1. Add `require "active_storage"` to config/application.rb, after `require "rails/all"` line. 2. Run `rails activestorage:install` to create needed directories, migrations, and configuration. 3. Configure the storage service in `config/environments/*` with `config.active_storage.service = :local` that references the services configured in `config/storage_services.yml`. -- cgit v1.2.3