Constructor Details

# File 'activerecord/lib/active_record/associations.rb', line 77definitialize(owner,reflection)super("Cannot dissociate new records through '#{owner.class.name}##{reflection.name}' on '#{reflection.source_reflection.class_namerescuenil}##{reflection.source_reflection.namerescuenil}'. Both records must have an id in order to delete the has_many :through record associating them.")end