Module: TemporalTables::Whodunnit

Defined in:
lib/temporal_tables/whodunnit.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/temporal_tables/whodunnit.rb', line 5

def self.included(base)
  base.class_eval do
    include InstanceMethods

    before_validation :set_updated_by
  end
end