diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-06-15 21:23:09 +0200 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-06-15 21:25:50 +0200 |
commit | 68f6d5346c4a0a3c6875939752ea116d507f0ba1 (patch) | |
tree | 2af65ce4bcd9e9e20411892cc66f30bd9a1ca5c1 /actionpack/lib/action_controller | |
parent | feff9595fb1d79885ffc36d8b1a0f16d277de5a9 (diff) | |
download | rails-68f6d5346c4a0a3c6875939752ea116d507f0ba1.tar.gz rails-68f6d5346c4a0a3c6875939752ea116d507f0ba1.tar.bz2 rails-68f6d5346c4a0a3c6875939752ea116d507f0ba1.zip |
Small refactor on db:reset
db:reset should not prematurely load the environment, so, for instance,
if there is any initializer that touches th DB, it will not touch that
before droping it.
Also this makes the code simpler.
This changed was made back in 15fb4302b6ff16e641b6279a3530eb8ed97f2899
, not sure why. But I am pretty much sure we should do it like this, as
drop and setup should load its dependencies tasks if necessary.
Diffstat (limited to 'actionpack/lib/action_controller')
0 files changed, 0 insertions, 0 deletions