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
eileencodes 9da8fef162
Replace kwarg for displaying all configurations
In #42794 we added the ability to hide some configurations for database
tasks. This is useful if you want your application to connect to a
database but if it's a separate service not run any tasks against it.

After adding this functionality I realized that the `configs_for`
argument no longer makes sense. `include_replicas` would include all of
them but ones with `database_tasks: false` aren't necessarily replicas.

This change deprecates `include_replicas` in favor of `include_hidden`
which will display all configurations. When not passed, this will
continue to return all writing connections that we want to perform tasks
on.
2021-08-17 09:27:18 -04:00
..
application
console
credentials Handle paths with spaces when editing credentials 2021-07-08 11:47:44 -05:00
db/system/change Change commands to not depend on ARGV 2020-02-18 14:08:59 -06:00
dbconsole Replace kwarg for displaying all configurations 2021-08-17 09:27:18 -04:00
destroy
dev
encrypted Don't load app environment when running encrypted commands 2020-05-12 12:06:05 -05:00
generate
help Add plugin to common command USAGE (#41457) 2021-07-28 17:59:22 -04:00
initializers
new
notes Resolve default annotation tags after config loads 2021-01-21 14:56:19 -06:00
plugin
rake Load Rails Rake tasks only once 2020-08-30 11:34:26 -05:00
routes
runner Expand path of user provided file in runner 2021-04-18 13:45:33 +03:00
secrets Remove references to secrets.yml from documentation 2020-08-26 14:59:26 -04:00
server Remove Command::Spellchecker and use DidYouMean for suggestions 2021-06-04 09:20:43 +02:00
test Change commands to not depend on ARGV 2020-02-18 14:08:59 -06:00
version