aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarat Galiev <kazanlug@gmail.com>2017-07-07 14:45:50 +0300
committerGitHub <noreply@github.com>2017-07-07 14:45:50 +0300
commit0e54b8be0546a4b575f4fe585f4da053cecf3c3d (patch)
tree6aa30ae46781b3f70194b35dee3d2ece0bc7cf5b
parentc9846fc0e8d4faf4f4686c5bfe548431cdae837c (diff)
downloadrails-0e54b8be0546a4b575f4fe585f4da053cecf3c3d.tar.gz
rails-0e54b8be0546a4b575f4fe585f4da053cecf3c3d.tar.bz2
rails-0e54b8be0546a4b575f4fe585f4da053cecf3c3d.zip
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.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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`.