aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/file_template.rb
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 /actionview/lib/action_view/file_template.rb
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 'actionview/lib/action_view/file_template.rb')
0 files changed, 0 insertions, 0 deletions