Class: Specify::Model::Taxonomy

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

Overview

Sequel::Model for taxonomies (taxon trees).

Constant Summary

Constants included from TreeQueryable

Specify::Model::TreeQueryable::AMBIGUOUS_MATCH_ERROR

Instance Method Summary collapse

Methods included from TreeQueryable

#rank, #search_tree

Instance Method Details

#before_updateObject


15
16
17
18
19
# File 'lib/specify/models/taxonomy/taxonomy.rb', line 15

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