method
delete_all_on_destroy
v3.2.1 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
delete_all_on_destroy()public
Called when the association is declared as :dependent => :delete_all. This is an optimised version which avoids loading the records into memory. Not really for public consumption.