diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-27 16:06:51 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-27 16:06:51 -0500 |
commit | 490178c93008c6fca20e3e2d6302a28d86aab94d (patch) | |
tree | d9322393f35f1a359edf242144204a2f760119c9 | |
parent | e8fc894f66daa7909d1790f2cd145844d256d282 (diff) | |
download | rails-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.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb | 1 |
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) |