Sha256: 37cbb6faf18e13c90a6605906d0f4437cb39e030edbcabefbe7aa09edc13fe60
Contents?: true
Size: 312 Bytes
Versions: 20
Compression:
Stored size: 312 Bytes
Contents
class ReferenceCodeUsingCompositeKeyAlias < ActiveRecord::Base self.table_name = 'reference_codes' self.primary_key = [:reference_type_id, :reference_code] 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