diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-03-22 08:31:36 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-04-02 13:15:55 +0900 |
commit | 29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8 (patch) | |
tree | 994efb34ace203e85f774fdd744513932cc0af02 /activerecord/test/cases/arel | |
parent | 16912db8fd36927cc15f7ea5dcf1816ca6f0270c (diff) | |
download | rails-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 'activerecord/test/cases/arel')
0 files changed, 0 insertions, 0 deletions