lib/ensembl/variation/tableless.rb in ensembl-0.0.5 vs lib/ensembl/variation/tableless.rb in ensembl-0.0.6

- old
+ new

@@ -6,17 +6,19 @@ class IndividualGenotype < ActiveRecord::Base has_no_table column :individual_id, :integer column :genotype_code_id, :integer + column :allele, :string belongs_to :individual belongs_to :genotype_code - has_one :allele_code, through: :genotype_code + #has_one :allele_code, through: :genotype_code delegate :individual_populations, to: :individual delegate :populations, to: :individual + end end end \ No newline at end of file