method

delete_all_on_destroy

rails latest stable - Class: ActiveRecord::Associations::CollectionAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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.