super("Cannot have a has_many :through association '#{owner_class_name}##{reflection.name}' with a :source_type option if the '#{reflection.through_reflection.class_name}##{source_reflection.name}' is not polymorphic. Try removing :source_type on your association.")

super("Cannot associate new records through '#{owner.class.name}##{reflection.name}' on '#{reflection.source_reflection.class_name rescuenil}##{reflection.source_reflection.name rescuenil}'. Both records must have an id in order to create the has_many :through record associating them.")

super("Cannot dissociate new records through '#{owner.class.name}##{reflection.name}' on '#{reflection.source_reflection.class_name rescuenil}##{reflection.source_reflection.name rescuenil}'. Both records must have an id in order to delete the has_many :through record associating them.")

super("Cannot create self referential has_and_belongs_to_many association on '#{reflection.class_name rescuenil}##{reflection.name rescuenil}'. :association_foreign_key cannot be the same as the :foreign_key.")