Flowdock
method

raise_on_type_mismatch

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::Associations::BelongsToPolymorphicAssociation

Method deprecated or moved

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

raise_on_type_mismatch(record) 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 25
        def raise_on_type_mismatch(record)
          # A polymorphic association cannot have a type mismatch, by definition
        end
Register or log in to add new notes.