klass() 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/associations/belongs_to_polymorphic_association.rb, line 7
      def klass
        type = owner[reflection.foreign_type]
        type.presence && type.constantize
      end
Register or log in to add new notes.