method

delete_records

rails latest stable - Class: ActiveRecord::Associations::CollectionAssociation
delete_records(records, method)
private

Delete the given records from the association, using one of the methods :destroy, :delete_all or :nullify (or nil, in which case a default is used).