method

connection_class_for_self

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Core
connection_class_for_self() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/core.rb, line 223
      def self.connection_class_for_self # :nodoc:
        klass = self

        until klass == Base
          break if klass.connection_class?
          klass = klass.superclass
        end

        klass
      end
Register or log in to add new notes.