diff options
author | Arthur Neves <arthurnn@gmail.com> | 2016-05-10 23:00:33 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2016-05-10 23:42:26 -0400 |
commit | d6f3ad7ce7066b8815b4bda4a1e843b2c72c2ad3 (patch) | |
tree | aeec93a2d541a581a700d5c9b5320c641e41589b /guides/source/plugins.md | |
parent | 932655a4ef61083da98724bb612d00f89e153c46 (diff) | |
download | rails-d6f3ad7ce7066b8815b4bda4a1e843b2c72c2ad3.tar.gz rails-d6f3ad7ce7066b8815b4bda4a1e843b2c72c2ad3.tar.bz2 rails-d6f3ad7ce7066b8815b4bda4a1e843b2c72c2ad3.zip |
Make sure we reset the connection_specification_name on
remove_connection
When calling `remove_connection` on a model, we delete the pool so we also
need to reset the `connection_specification_name` so it will fallback to
the parent.
This was the current behavior before rails 5, which will fallback to the
parent connection pool.
[fixes #24959]
Special thanks to @jrafanie for working with me on this fix.
Diffstat (limited to 'guides/source/plugins.md')
0 files changed, 0 insertions, 0 deletions