method

delete_all_on_destroy

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.