aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-27 16:06:51 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-27 16:06:51 -0500
commit490178c93008c6fca20e3e2d6302a28d86aab94d (patch)
treed9322393f35f1a359edf242144204a2f760119c9 /activerecord/lib/active_record
parente8fc894f66daa7909d1790f2cd145844d256d282 (diff)
downloadrails-490178c93008c6fca20e3e2d6302a28d86aab94d.tar.gz
rails-490178c93008c6fca20e3e2d6302a28d86aab94d.tar.bz2
rails-490178c93008c6fca20e3e2d6302a28d86aab94d.zip
Revert "Ensure adapater specific code is loaded on ActiveRecord::Base.establish_connection"
This reverts commit 8b858782fa693e89a47fc3dd5ae38d842ede6d04.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
index 07b122efd1..2a8807fb78 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
@@ -211,7 +211,6 @@ module ActiveRecord
clear_active_connection_name
@active_connection_name = name
@@defined_connections[name] = spec
- connection
when Symbol, String
if configuration = configurations[spec.to_s]
establish_connection(configuration)