Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Ensure adapater specific code is loaded on ActiveRecord::Base…

….establish_connection"

This reverts commit 8b85878.
  • Loading branch information...
commit 490178c93008c6fca20e3e2d6302a28d86aab94d 1 parent e8fc894
Joshua Peek josh authored
1  activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
View
@@ -211,7 +211,6 @@ def self.establish_connection(spec = nil)
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)
Please sign in to comment.
Something went wrong with that request. Please try again.