Module: ActiveModel::StateTracking
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_model/state_tracking.rb
Instance Method Summary collapse
Instance Method Details
#created? ⇒ Boolean
18 19 20 |
# File 'lib/active_model/state_tracking.rb', line 18 def created? @created == true end |
#destroyed? ⇒ Boolean
22 23 24 |
# File 'lib/active_model/state_tracking.rb', line 22 def destroyed? @destroyed == true end |