diff options
author | George Claghorn <george.claghorn@gmail.com> | 2018-07-26 09:26:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 09:26:56 -0400 |
commit | 0718c75bc2a7378d30e729a3c1d25ceb99400b7b (patch) | |
tree | fc02f11ebaf12e76a7009bfc625bd3e2fc665f4b | |
parent | 934fccd5223ae41f3f1cc7d548af509302f64828 (diff) | |
parent | de2e797c491d31f26ed4111c6b7630de5efac3fa (diff) | |
download | rails-0718c75bc2a7378d30e729a3c1d25ceb99400b7b.tar.gz rails-0718c75bc2a7378d30e729a3c1d25ceb99400b7b.tar.bz2 rails-0718c75bc2a7378d30e729a3c1d25ceb99400b7b.zip |
Merge pull request #33442 from utilum/ast_guide_setup_clarification
AST Guide: install and migrate tasks needed in new app
-rw-r--r-- | guides/source/active_storage_overview.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index 182d784595..6933717c2b 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -36,10 +36,10 @@ files. ## Setup Active Storage uses two tables in your application’s database named -`active_storage_blobs` and `active_storage_attachments`. After upgrading your -application to Rails 5.2, run `rails active_storage:install` to generate a -migration that creates these tables. Use `rails db:migrate` to run the -migration. +`active_storage_blobs` and `active_storage_attachments`. After creating a new +application (or upgrading your application to Rails 5.2), run +`rails active_storage:install` to generate a migration that creates these +tables. Use `rails db:migrate` to run the migration. Declare Active Storage services in `config/storage.yml`. For each service your application uses, provide a name and the requisite configuration. The example |