1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/tasks
Yves Senn ded17a498a schema loading rake tasks maintain database connection for current env.
[Joshua Cody & Yves Senn]

Closes #16757.

Prior to this patch schema loading rake tasks had the potential to leak a
connection to a different database. This had side-effects when rake tasks
operating on the current connection (like `db:seed`) were chained.
2014-09-03 18:02:44 +02:00
..
database_tasks.rb schema loading rake tasks maintain database connection for current env. 2014-09-03 18:02:44 +02:00
mysql_database_tasks.rb fix, mysql db:purge respects Rails.env. 2014-07-24 16:42:34 +02:00
postgresql_database_tasks.rb Using delegated connection method 2014-08-08 22:16:28 -07:00
sqlite_database_tasks.rb Revert "Revert "Merge pull request #15394 from morgoth/fix-automatic-maintaining-test-schema-for-sql-format"" 2014-08-06 08:25:18 +02:00