method
retrieve_connection_pool
Ruby on Rails latest stable (v3.2.13)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
retrieve_connection_pool(klass)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 434 def retrieve_connection_pool(klass) pool = @class_to_pool[klass.name] return pool if pool return nil if ActiveRecord::Base == klass retrieve_connection_pool klass.superclass end


