1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands
yuuji.yaginuma 29b16d3ff8 Rename connection option to database in dbconsole command
We introduced `connection` option for specifying spec with 1acd9a6464.
But now we are using the `database` to specify the same value in other commands.

* 0a0f115031/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb (L11)
* 0a0f115031/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.
2019-04-02 13:15:55 +09:00
..
application [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
console Add config.disable_sandbox option to Rails console 2019-03-23 19:31:03 +09:00
credentials Add secret_key_base when creating new credential file 2019-03-23 09:07:57 +09:00
db/system/change Add rails db:system:change command 2019-01-09 14:23:25 -05:00
dbconsole Rename connection option to database in dbconsole command 2019-04-02 13:15:55 +09:00
destroy [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
dev Fix rails initializers --help and rails dev:cache --help 2018-08-22 22:36:25 +03:00
encrypted overriden -> overridden [ci skip] 2019-03-12 04:08:51 +05:30
generate [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
help Use say/error instead of puts/$stderr.puts 2018-08-22 22:39:03 +03:00
initializers Add -e/--environment option to rails initializers 2019-03-16 10:02:06 +09:00
new Use say/error instead of puts/$stderr.puts 2018-08-22 22:39:03 +03:00
notes Fix deprecation message for SOURCE_ANNOTATION_DIRECTORIES 2018-07-20 13:19:10 +09:00
plugin Use say/error instead of puts/$stderr.puts 2018-08-22 22:39:03 +03:00
rake Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
routes Rely on Rails::Command's help output. 2018-03-13 20:56:37 +01:00
runner Properly expand the environment's name in all commands 2019-03-15 07:43:10 +09:00
secrets Enable Start/EndWith and RegexpMatch cops 2018-07-28 17:37:17 -04:00
server Properly expand the environment's name in all commands 2019-03-15 07:43:10 +09:00
test [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
version Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00