method
connection_class_for_self
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::Core
connection_class_for_self()public
No documentation available.
# File activerecord/lib/active_record/core.rb, line 211
def self.connection_class_for_self # :nodoc:
klass = self
until klass == Base
break if klass.connection_class?
klass = klass.superclass
end
klass
end