From b37399ab987c3f54e94178da7d41bfc5f48308de Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 27 Mar 2013 04:28:28 -0700 Subject: Make connection_handler overridable per thread --- activerecord/CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 94d86f6550..3fe8d7ec2e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Allow ActiveRecord::Base.connection_handler to have thread affinity and be + settable, this effectively allows ActiveRecord to be used in a multi threaded + setup with multiple connections to multiple dbs. + + *Sam Saffron* + * `rename_column` preserves auto_increment in mysql migrations. Fixes #3493. @@ -8,7 +14,7 @@ * PostgreSQL geometric type point is supported by ActiveRecord. Fixes #7324. *Martin Schuerrer* - + * Add suport for concurrent indexing in PostgreSQL adapter via the `algorithm: :concurrently` option -- cgit v1.2.3