method
after_destroy
v1.1.6 -
Show latest stable
- Class:
ActiveRecord::Callbacks
after_destroy()public
Is called after Base.destroy (and all the attributes have been frozen).
class Contact < ActiveRecord::Base after_destroy { |record| logger.info( "Contact #{record.id} was destroyed." ) } end