method
destroy
v3.2.8 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
destroy(*records)public
Destroy records and remove them from this association calling before_remove and after_remove callbacks.
Note that this method will always remove records from the database ignoring the :dependent option.