Class: Specify::Model::AdministrativeDivision

Inherits:
Object
  • Object
show all
Defined in:
lib/specify/models/geography/administrative_division.rb

Overview

Sequel::Model for geographies (geography trees).

Instance Method Summary collapse

Instance Method Details

#before_updateObject



12
13
14
15
16
# File 'lib/specify/models/geography/administrative_division.rb', line 12

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