Sha256: 44c1d211c5df85147438a67e48a7f1677f925e34673f2b4d034387ccea4ff8bd
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require 'active_record' require 'activerecord-tableless' module Ensembl module Variation class IndividualGenotype < ActiveRecord::Base has_no_table column :individual_id, :integer column :genotype_code_id, :integer belongs_to :individual belongs_to :genotype_code has_one :allele_code, through: :genotype_code delegate :individual_populations, to: :individual delegate :populations, to: :individual end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ensembl-0.0.5 | lib/ensembl/variation/tableless.rb |