aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/dbconsole_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Set `RAILS_ENV` before load application fileyuuji.yaginuma2017-07-171-3/+32
| | | | | | | Since #29725, load application file when `dbconsole` command is executed. However, if do not set `RAILS_ENV` before reading the application file, can not connect to the env specified in option, so added the setting of `RAILS_ENV`.
* Load environment file in `dbconsole` commandyuuji.yaginuma2017-07-091-0/+66
Currently the environment file is not loaded in `dbconsole` command. Therefore, for example, if use encrypted secrets values in database.yml, `read_encrypted_secrets` will not be true, so the value can not be used correctly. Fixes #29717