Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for issue #2820 #2897

Merged
merged 1 commit into from
Sep 7, 2011
Merged

Conversation

rsutphin
Copy link
Contributor

@rsutphin rsutphin commented Sep 6, 2011

This is a patch for issue #2820 ("ActiveRecord 3.1 does not restore connection inheritance after establish_connection/remove_connection on a model").

It applies the solution described in that ticket. There is also a change in connection_adapters/abstract/connection_specification.rb to ensure that a nil pool can't leak out and cause NoMethodErrors.

This pull request is against 3-1-stable. I've verified that the patch also works on master.

tenderlove added a commit that referenced this pull request Sep 7, 2011
@tenderlove tenderlove merged commit 9198c7a into rails:3-1-stable Sep 7, 2011
tenderlove added a commit that referenced this pull request Sep 7, 2011
@rsutphin rsutphin deleted the ar31-remove_connection branch May 30, 2014 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants