mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use superclass_delegating_accessor for connection handlers
This commit is contained in:
@@ -10,7 +10,7 @@ module ActiveRecord
|
||||
##
|
||||
# :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
|
||||
|
||||
Reference in New Issue
Block a user