Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use superclass_delegating_accessor for connection handlers

  • Loading branch information...
commit 7cbc546d39e7ba4e51d1f3cec80f454fdcd303ef 1 parent 9ab1154
@lifo lifo authored
View
2  activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
@@ -10,7 +10,7 @@ def initialize (config, adapter_method)
##
# :singleton-method:
# The connection handler
- class_inheritable_accessor :connection_handler, :instance_writer => false
+ superclass_delegating_accessor :connection_handler, :instance_writer => false
self.connection_handler = ConnectionAdapters::ConnectionHandler.new
# Returns the connection currently associated with the class. This can
Please sign in to comment.
Something went wrong with that request. Please try again.