instance method
destroyed?
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
destroyed?()
Returns true if this object has been destroyed, otherwise returns false.
Source
# File activerecord/lib/active_record/persistence.rb, line 237
def destroyed?
sync_with_transaction_state
@destroyed
end
Defined in activerecord/lib/active_record/persistence.rb line 237
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Persistence