Module: Sherpa::UserstampBasic::InstanceMethods

Defined in:
lib/stampable.rb

Instance Method Summary collapse

Instance Method Details

#set_created_byObject



28
29
30
# File 'lib/stampable.rb', line 28

def set_created_by
  self.created_by = User.current
end

#set_updated_byObject



24
25
26
# File 'lib/stampable.rb', line 24

def set_updated_by
  self.updated_by = User.current
end