Skip to content

Always reenable _dump task in AR databases rake. Closes #5030 #5038

Merged
merged 1 commit into from Feb 14, 2012

2 participants

@carlosantoniodasilva
Ruby on Rails member

This allows the internal :_dump task to be called as many times as required.
For instance, rake db:migrate:redo calls two tasks that internally call
:_dump, and without reenabling it to be reinvoked, the database was left in
incorrect state.

This should be applied to 3-2-stable as well.

@carlosantoniodasilva carlosantoniodasilva Always reenable _dump task in AR databases rake. Closes #5030
This allows the internal :_dump task to be called as many times as
required. For instance, `rake db:migrate:redo` calls two tasks that
internally call :_dump, and without reenabling it to be reinvoked,
the database was left in incorrect state.
4b44c20
@josevalim josevalim merged commit abdff44 into rails:master Feb 14, 2012
@josevalim josevalim merged commit 4b44c20 into rails:master Feb 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.