Class: Tombstone

Inherits:
Sequel::Model
  • Object
show all
Defined in:
backend/app/model/tombstone.rb

Instance Method Summary collapse

Instance Method Details

#before_saveObject



3
4
5
6
7
8
# File 'backend/app/model/tombstone.rb', line 3

def before_save
  super

  self.timestamp = Time.now
  self.operator = RequestContext.get(:current_username)
end