method

association_class

Method deprecated or moved

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

association_class()
private

No documentation available.

# File activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb, line 77
        def association_class
          @owner[@reflection.options[:foreign_type]] ? @owner[@reflection.options[:foreign_type]].constantize : nil
        end