Class: DirtyHistoryRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DirtyHistoryRecord
- Defined in:
- lib/dirty_history/dirty_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.
31 32 33 |
# File 'lib/dirty_history/dirty_history_record.rb', line 31 def performing_manual_update @performing_manual_update end |
Instance Method Details
#action_timestamp ⇒ Object
44 45 46 47 48 |
# File 'lib/dirty_history/dirty_history_record.rb', line 44 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 |