Class: ObservationMatrixColumn

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Housekeeping, Shared::IsData, Shared::Notable, Shared::Taggable
Defined in:
app/models/observation_matrix_column.rb

Instance Method Summary (collapse)

Methods included from Housekeeping

#has_polymorphic_relationship?

Instance Method Details

- (Object) set_reference_count



12
13
14
# File 'app/models/observation_matrix_column.rb', line 12

def set_reference_count
  self.reference_count ||= 0
end