diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-17 09:11:21 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-17 09:11:21 +0900 |
commit | 8be50181d3fbe0f727a68de33ec856efdf772487 (patch) | |
tree | 14c86580088b59b6b8eeb05073803dbd75e87d2e /activerecord/lib | |
parent | f4d52eee07954c510a8318176d6d11100afabf7b (diff) | |
download | rails-8be50181d3fbe0f727a68de33ec856efdf772487.tar.gz rails-8be50181d3fbe0f727a68de33ec856efdf772487.tar.bz2 rails-8be50181d3fbe0f727a68de33ec856efdf772487.zip |
Set `RAILS_ENV` before load application file
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`.
Diffstat (limited to 'activerecord/lib')
0 files changed, 0 insertions, 0 deletions