aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators.rb
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2017-11-14 13:54:58 +0900
committerGitHub <noreply@github.com>2017-11-14 13:54:58 +0900
commitb6d5e46311d7ea59539c1f45c6ffb269eeb23912 (patch)
tree5f45d00bacbba23c292e672beeeaa7531f534fa0 /railties/lib/rails/generators.rb
parent9f8ec3535247ac41a9c92e84ddc7a3b771bc318b (diff)
downloadrails-b6d5e46311d7ea59539c1f45c6ffb269eeb23912.tar.gz
rails-b6d5e46311d7ea59539c1f45c6ffb269eeb23912.tar.bz2
rails-b6d5e46311d7ea59539c1f45c6ffb269eeb23912.zip
Add `environment` as dependency of `load_config` (#31135)
Currently the environment is not loaded in some db tasks. Therefore, if use encrypted secrets values in `database.yml`, `read_encrypted_secrets` will not be true, so the value can not be used correctly. To fix this, added `environment` as dependency of `load_config`. It also removes explicit `environment` dependencies that are no longer needed. Fixes #30717
Diffstat (limited to 'railties/lib/rails/generators.rb')
0 files changed, 0 insertions, 0 deletions