Sha256: 11a902ab9aa69c0ba1b5eed597c5c10c2a334f6d0c0e01f3867ce0f843e5812b
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
class WorkEffortStatusType < ActiveRecord::Base has_many :work_effort_statuses has_one :previous_status_type, :class_name => 'WorkEffortStatusType', :foreign_key => 'previous_status_id' has_one :next_status_type, :class_name => 'WorkEffortStatusType', :foreign_key => 'next_status_id' def status description end def self.iid(internal_identifier) self.where('internal_identifier = ?', internal_identifier).first end end
Version data entries
5 entries across 5 versions & 1 rubygems