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

Merged
merged 1 commit into from Feb 14, 2012

Conversation

Projects
None yet
2 participants

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.

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.

josevalim added a commit that referenced this pull request Feb 14, 2012

Merge pull request #5038 from carlosantoniodasilva/fix-db-migrate-redo
Always reenable _dump task in AR databases rake. Closes #5030

@josevalim josevalim merged commit abdff44 into rails:master Feb 14, 2012

josevalim added a commit that referenced this pull request Feb 14, 2012

Merge pull request #5038 from carlosantoniodasilva/fix-db-migrate-redo
Always reenable _dump task in AR databases rake. Closes #5030

@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