method
delete_all_on_destroy
rails 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.