This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.
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