diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2017-06-09 00:15:41 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2017-07-16 15:10:34 +0200 |
commit | 48b249927375465a7102acc71c2dfb8d49af8309 (patch) | |
tree | 9f4d2ec7e7dfe01eb67715945e4ccc4c0508375f /railties/CHANGELOG.md | |
parent | 1acd9a6464668d4d54ab30d016829f60b70dbbeb (diff) | |
download | rails-48b249927375465a7102acc71c2dfb8d49af8309.tar.gz rails-48b249927375465a7102acc71c2dfb8d49af8309.tar.bz2 rails-48b249927375465a7102acc71c2dfb8d49af8309.zip |
Deprecate environment as an argument for dbconsole and console
People should rather rely on the `-e` or `--environment` options to
specify in which environment they want to work. This will allow us
to specify the connection to pick as a regular argument in the future.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 1c93f7408c..0edf1015a0 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,17 @@ +* 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. + + Previously: + + $ bin/rails dbconsole production + + Now: + + $ bin/rails dbconsole -e production + + *Robin Dupret*, *Kasper Timm Hansen* + * Allow to pass a custom connection name to the `rails dbconsole` command when using a 3-level database configuration. |