Module: TemporalTables::Whodunnit::InstanceMethods
- Defined in:
- lib/temporal_tables/whodunnit.rb
Instance Method Summary collapse
Instance Method Details
#set_updated_by ⇒ Object
12 13 14 15 16 |
# File 'lib/temporal_tables/whodunnit.rb', line 12 def set_updated_by if TemporalTables.updated_by_proc && respond_to?(:updated_by) self.updated_by = TemporalTables.updated_by_proc.call(self) end end |