Sha256: 29d140675d739f8bbb0bc82dcfa14776e6fb963454614dbfc4da3410afc70c1c
Contents?: true
Size: 283 Bytes
Versions: 20
Compression:
Stored size: 283 Bytes
Contents
class ReferenceCodeUsingSimpleKeyAlias < ActiveRecord::Base self.table_name = 'reference_codes' self.primary_key = :code_label belongs_to :reference_type, :foreign_key => "reference_type_id" validates_presence_of :reference_code, :code_label, :abbreviation end
Version data entries
20 entries across 20 versions & 1 rubygems