diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-07-09 17:00:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-09 17:00:22 +0200 |
commit | bed328c888ea35b08ad1c25ffe5f3c421ae2312e (patch) | |
tree | a90dff23bceb31084b0d9d5223d90b3b0c61d3b5 /railties/lib | |
parent | 551f88366dcbaed3b0abc89bddd63975c4c9a5ca (diff) | |
parent | e12715bfd55831a84e9398280fb294d9136ede2e (diff) | |
download | rails-bed328c888ea35b08ad1c25ffe5f3c421ae2312e.tar.gz rails-bed328c888ea35b08ad1c25ffe5f3c421ae2312e.tar.bz2 rails-bed328c888ea35b08ad1c25ffe5f3c421ae2312e.zip |
Merge pull request #29725 from y-yagi/fix_29717
Load environment file in `dbconsole` command
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/dbconsole/dbconsole_command.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb index 5db588b66a..b3df5191c6 100644 --- a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb +++ b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb @@ -148,6 +148,7 @@ module Rails def perform extract_environment_option_from_argument + require_application_and_environment! Rails::DBConsole.start(options) end end |