Skip to content

Patch for issue #2820 #2897

Merged
merged 1 commit into from Sep 7, 2011

2 participants

@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 tenderlove merged commit 9198c7a into rails:3-1-stable Sep 7, 2011
@rsutphin rsutphin deleted the rsutphin:ar31-remove_connection branch May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.