# File lib/dm-core/associations/one_to_many.rb, line 191 def destroy assert_mutable raise UnsavedParentError, 'You cannot mass-delete until the parent is saved' if @parent.new_record? children.destroy end