--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Raised when an object assigned to an association has an incorrect type.
- !ruby/struct:SM::Flow::VERB 
  body: "  class Ticket &lt; ActiveRecord::Base\n    has_many :patches\n  end\n\n  class Patch &lt; ActiveRecord::Base\n    belongs_to :ticket\n  end\n\n  # Comments are not patches, this assignment raises AssociationTypeMismatch.\n  @ticket.patches &lt;&lt; Comment.new(:content =&gt; &quot;Please attach tests to your patch.&quot;)\n"
constants: []

full_name: ActiveRecord::AssociationTypeMismatch
includes: []

instance_methods: []

name: AssociationTypeMismatch
superclass: ActiveRecordError
