Flowdock
method

delete

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: CollectionAssociation
delete(*records) public

Removes records from this association calling before_remove and after_remove callbacks.

This method is abstract in the sense that delete_records has to be provided by descendants. Note this method does not imply the records are actually removed from the database, that depends precisely on delete_records. They are in any case removed from the collection.

Show source
Register or log in to add new notes.