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