Sha256: 48a6cabdbc72f9c56a1c1d35940d06bebe47f8ff54bf4105d65d5fb690c4037c

Contents?: true

Size: 259 Bytes

Versions: 19

Compression:

Stored size: 259 Bytes

Contents

class Breed < ActiveRecord::Base
  set_primary_key :name
  
  has_many :breed_genders, :foreign_key => 'breed_name'
  belongs_to :species, :foreign_key => 'species_name'
  
  col :name
  col :species_name
  col :weight, :type => :float
  col :weight_units
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
earth-0.11.10 lib/earth/pet/breed.rb
earth-0.11.9 lib/earth/pet/breed.rb
earth-0.11.8 lib/earth/pet/breed.rb
earth-0.11.7 lib/earth/pet/breed.rb
earth-0.11.6 lib/earth/pet/breed.rb
earth-0.11.5 lib/earth/pet/breed.rb
earth-0.11.4 lib/earth/pet/breed.rb
earth-0.11.3 lib/earth/pet/breed.rb
earth-0.11.2 lib/earth/pet/breed.rb
earth-0.11.1 lib/earth/pet/breed.rb
earth-0.11.0 lib/earth/pet/breed.rb
earth-0.7.0 lib/earth/pet/breed.rb
earth-0.6.6 lib/earth/pet/breed.rb
earth-0.6.5 lib/earth/pet/breed.rb
earth-0.6.4 lib/earth/pet/breed.rb
earth-0.6.3 lib/earth/pet/breed.rb
earth-0.6.2 lib/earth/pet/breed.rb
earth-0.6.1 lib/earth/pet/breed.rb
earth-0.6.0 lib/earth/pet/breed.rb