# File lib/dm-core/associations/one_to_many.rb, line 147 def clear assert_mutable each { |resource| orphan_resource(resource) } children.clear self end