method

association_class

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::BelongsToPolymorphicAssociation
association_class() private

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/associations/belongs_to_polymorphic_association.rb, line 77
        def association_class
          @owner[@reflection.options[:foreign_type]] ? @owner[@reflection.options[:foreign_type]].constantize : nil
        end
Register or log in to add new notes.