mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9da8fef162
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. |
||
---|---|---|
.. | ||
application | ||
console | ||
credentials | ||
db/system/change | ||
dbconsole | ||
destroy | ||
dev | ||
encrypted | ||
generate | ||
help | ||
initializers | ||
new | ||
notes | ||
plugin | ||
rake | ||
routes | ||
runner | ||
secrets | ||
server | ||
test | ||
version |