method

destroy

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::Base
destroy(id) public

Destroys the record with the given id by instantiating the object and calling #destroy (all the callbacks are the triggered). If an array of ids is provided, all of them are destroyed.

Show source
Register or log in to add new notes.