Flowdock
method

destroy

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

Deletes the records and removes them from this association calling before_remove , after_remove , before_destroy and after_destroy callbacks.

Note that this method removes records from the database ignoring the :dependent option.

Show source
Register or log in to add new notes.