-class ReferenceCode < ActiveRecord::Base\r
- set_primary_keys :reference_type_id, :reference_code\r
- \r
- belongs_to :reference_type, :foreign_key => "reference_type_id"\r
- \r
- validates_presence_of :reference_code, :code_label, :abbreviation\r
-end\r
+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