destroy_all()
Destroy all the records from this association.
See destroy for more info.
# File activerecord/lib/active_record/associations/association_collection.rb, line 259 def destroy_all load_target destroy(@target).tap do reset_target! reset_named_scopes_cache! end end