Module: Extensions::DestroyCallbacks::ActiveRecord::Base

Extended by:
ActiveSupport::Concern
Defined in:
lib/extensions/destroy_callbacks/active_record/base.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#destroying?Boolean

Returns True if the record is being destroyed.

Returns:

  • (Boolean)

    True if the record is being destroyed.


19
20
21
# File 'lib/extensions/destroy_callbacks/active_record/base.rb', line 19

def destroying?
  @destroying
end