Class: ModelHistoryRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ModelHistoryRecord
- Defined in:
- lib/model_history/model_history_record.rb
Instance Attribute Summary collapse
-
#performing_manual_update ⇒ Object
Returns the value of attribute performing_manual_update.
Instance Method Summary collapse
Instance Attribute Details
#performing_manual_update ⇒ Object
Returns the value of attribute performing_manual_update.
35 36 37 |
# File 'lib/model_history/model_history_record.rb', line 35 def performing_manual_update @performing_manual_update end |
Instance Method Details
#action_timestamp ⇒ Object
48 49 50 51 52 |
# File 'lib/model_history/model_history_record.rb', line 48 def # use revised_created_at field to update the timestamp for # the dirty history action while retaining data integrity self[:revised_created_at] || self[:created_at] end |