Sha256: fb72f94790f23ffc0880556b461fc8c9050a60a0a94352807f1c6cf2ff3fde02

Contents?: true

Size: 240 Bytes

Versions: 24

Compression:

Stored size: 240 Bytes

Contents

class ReferenceCode < ActiveRecord::Base
  set_primary_keys :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

24 entries across 24 versions & 1 rubygems

Version Path
composite_primary_keys-3.1.4 test/fixtures/reference_code.rb
composite_primary_keys-3.1.2 test/fixtures/reference_code.rb
composite_primary_keys-3.1.1 test/fixtures/reference_code.rb
composite_primary_keys-3.1.0 test/fixtures/reference_code.rb