aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-06-15 21:23:09 +0200
committerArthur Neves <arthurnn@gmail.com>2015-06-15 21:25:50 +0200
commit68f6d5346c4a0a3c6875939752ea116d507f0ba1 (patch)
tree2af65ce4bcd9e9e20411892cc66f30bd9a1ca5c1 /railties/lib/rails/engine.rb
parentfeff9595fb1d79885ffc36d8b1a0f16d277de5a9 (diff)
downloadrails-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 'railties/lib/rails/engine.rb')
0 files changed, 0 insertions, 0 deletions