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