Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v3.0.9) is shown here.
delete_all()
public
Remove all records from this association
See delete
for more info.
# File activerecord/lib/active_record/associations/association_collection.rb, line 165
def delete_all
load_target
delete(@target)
reset_target!
reset_named_scopes_cache!
end