method

derive_class_name

rails latest stable - Class: ActiveRecord::Reflection::ThroughReflection

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

derive_class_name()
private

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 1013
        def derive_class_name
          # get the class_name of the belongs_to association of the through reflection
          options[:source_type] || source_reflection.class_name
        end