aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-03-22 08:31:36 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-04-02 13:15:55 +0900
commit29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8 (patch)
tree994efb34ace203e85f774fdd744513932cc0af02 /railties/CHANGELOG.md
parent16912db8fd36927cc15f7ea5dcf1816ca6f0270c (diff)
downloadrails-29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8.tar.gz
rails-29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8.tar.bz2
rails-29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8.zip
Rename `connection` option to `database` in `dbconsole` command
We introduced `connection` option for specifying spec with 1acd9a6464668d4d54ab30d016829f60b70dbbeb. But now we are using the `database` to specify the same value in other commands. * https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb#L11 * https://github.com/rails/rails/blob/0a0f115031b64b5335fa88543c40df4194dfb428/activerecord/lib/rails/generators/active_record/model/model_generator.rb#L17 The options provided to the users should be uniform. Since the term "database" is used in rake task etc, So I want to be able to use it in `dbconsole` command. Also I deprecated the `connection` option because I think that it would be confusing if there are multiple options to specify a same value.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index e6ad643bb1..710d3082e3 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,8 @@
+* The `connection` option of `rails dbconsole` command is deprecated in
+ favor of `database` option.
+
+ *Yuji Yaginuma*
+
* Replace `chromedriver-helper` gem with `webdrivers` in default Gemfile.
`chromedriver-helper` is deprecated as of March 31, 2019 and won't
recieve any further updates.