Class: Specify::Model::Rank

Inherits:
Object
  • Object
show all
Defined in:
lib/specify/models/taxonomy/rank.rb

Overview

Sequel::Model for taxonomic ranks.

Instance Method Summary collapse

Instance Method Details

#before_updateObject


10
11
12
13
14
# File 'lib/specify/models/taxonomy/rank.rb', line 10

def before_update
  self.Version += 1
  self.TimestampModified = Time.now
  super
end