diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2017-07-16 14:54:04 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2017-07-16 15:10:39 +0200 |
commit | 3777701f1380f3814bd5313b225586dec64d4104 (patch) | |
tree | e77262bb855ee85c59b618648f17e2473854c815 /railties/CHANGELOG.md | |
parent | 48b249927375465a7102acc71c2dfb8d49af8309 (diff) | |
download | rails-3777701f1380f3814bd5313b225586dec64d4104.tar.gz rails-3777701f1380f3814bd5313b225586dec64d4104.tar.bz2 rails-3777701f1380f3814bd5313b225586dec64d4104.zip |
Properly expand the environment's name
Running the `console` and `dbconsole` commands with a regular argument
as the environment's name automatically expand it to match an existing
environment (e.g. dev for development).
This feature wasn't available using the `--environment` (a.k.a `-e`)
option.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 0edf1015a0..db55d4fd69 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,8 @@ +* Properly expand shortcuts for environment's name running the `console` + and `dbconsole` commands. + + *Robin Dupret* + * Passing the environment's name as a regular argument to the `rails dbconsole` and `rails console` commands is deprecated. The `-e` option should be used instead. |