Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use superclass_delegating_accessor for connection handlers

  • Loading branch information...
commit 7cbc546d39e7ba4e51d1f3cec80f454fdcd303ef 1 parent 9ab1154
Pratik lifo authored
2  activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
@@ -10,7 +10,7 @@ def initialize (config, adapter_method)
10 10 ##
11 11 # :singleton-method:
12 12 # The connection handler
13   - class_inheritable_accessor :connection_handler, :instance_writer => false
  13 + superclass_delegating_accessor :connection_handler, :instance_writer => false
14 14 self.connection_handler = ConnectionAdapters::ConnectionHandler.new
15 15
16 16 # Returns the connection currently associated with the class. This can

0 comments on commit 7cbc546

Please sign in to comment.
Something went wrong with that request. Please try again.