diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-09-03 17:31:38 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-09-03 18:02:44 +0200 |
commit | ded17a498aaed63a80fe0bbf4d184aa3e468b023 (patch) | |
tree | f552d5c9e2e8b7f01d3cda3f1c94807afbcbb421 /actionpack/lib | |
parent | e2ce4c7aa3e15ffba9436bd8d179a28351d41e1f (diff) | |
download | rails-ded17a498aaed63a80fe0bbf4d184aa3e468b023.tar.gz rails-ded17a498aaed63a80fe0bbf4d184aa3e468b023.tar.bz2 rails-ded17a498aaed63a80fe0bbf4d184aa3e468b023.zip |
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.
Diffstat (limited to 'actionpack/lib')
0 files changed, 0 insertions, 0 deletions