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

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Raised when object assigned to association is of incorrect type.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::P 
  body: class Ticket &lt; ActiveRecord::Base
- !ruby/struct:SM::Flow::VERB 
  body: "  has_many :patches\n"
- !ruby/struct:SM::Flow::P 
  body: end
- !ruby/struct:SM::Flow::P 
  body: class Patch &lt; ActiveRecord::Base
- !ruby/struct:SM::Flow::VERB 
  body: "  belongs_to :ticket\n"
- !ruby/struct:SM::Flow::P 
  body: end
- !ruby/struct:SM::Flow::P 
  body: "and somewhere in the code:"
- !ruby/struct:SM::Flow::P 
  body: "@ticket.patches &lt;&lt; Comment.new(:content =&gt; &quot;Please attach tests to your patch.&quot;) @ticket.save"
constants: []

full_name: ActiveRecord::AssociationTypeMismatch
includes: []

instance_methods: []

name: AssociationTypeMismatch
superclass: ActiveRecordError
