method

association_class

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

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.

association_class()
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 711
      def association_class
        if options[:through]
          Associations::HasOneThroughAssociation
        else
          Associations::HasOneAssociation
        end
      end