Permalink
Browse files

Use superclass_delegating_accessor for connection handlers

  • Loading branch information...
1 parent 9ab1154 commit 7cbc546d39e7ba4e51d1f3cec80f454fdcd303ef @lifo lifo committed May 12, 2010
@@ -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

0 comments on commit 7cbc546

Please sign in to comment.