instance method
around_destroy
Ruby on Rails 8.0.4
Since v6.1.7.10Signature
around_destroy(*args, &block)
Registers a callback to be called around the destruction of a record. See ActiveRecord::Callbacks for more information.
Source
# File activerecord/lib/active_record/callbacks.rb, line 396
Defined in activerecord/lib/active_record/callbacks.rb line 396
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Callbacks::ClassMethods