diff options
author | Alberto Almagro <alberto.almagro@rakuten.com> | 2017-11-16 21:07:55 +0100 |
---|---|---|
committer | Alberto Almagro <alberto.almagro@rakuten.com> | 2017-11-26 11:37:48 +0100 |
commit | 39da171f3c92c6c025a4beaa909ed5180974c094 (patch) | |
tree | 8954808583dce10a8f7f702ae9cd86c54f2fc7bb | |
parent | cdc46750ca4ae2fc21020b36d5b94fd708d7b5d2 (diff) | |
download | rails-39da171f3c92c6c025a4beaa909ed5180974c094.tar.gz rails-39da171f3c92c6c025a4beaa909ed5180974c094.tar.bz2 rails-39da171f3c92c6c025a4beaa909ed5180974c094.zip |
Remove DB naming ambiguity
In some places this file referred to the database in three different ways: database, DB and db. The last one caused confusion with the db namespace and the db folder. This commit removes this ambiguity by using the whole word 'database' everywhere
-rw-r--r-- | railties/lib/rails/tasks/engine.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/engine.rake b/railties/lib/rails/tasks/engine.rake index 9db9d78ec4..8d77904210 100644 --- a/railties/lib/rails/tasks/engine.rake +++ b/railties/lib/rails/tasks/engine.rake @@ -53,7 +53,7 @@ namespace :db do desc "Rolls the schema back to the previous version (specify steps w/ STEP=n)." app_task "rollback" - desc "Create a db/schema.rb file that can be portably used against any DB supported by Active Record" + desc "Create a db/schema.rb file that can be portably used against any database supported by Active Record" app_task "schema:dump" desc "Load a schema.rb file into the database" @@ -62,7 +62,7 @@ namespace :db do desc "Load the seed data from db/seeds.rb" app_task "seed" - desc "Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the db first)" + desc "Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the database first)" app_task "setup" desc "Dump the database structure to an SQL file" |