Sha256: 08bec714b3586b729a9b5e1a92e229f07425e2f3f9b42830233280ba0cd45f65

Contents?: true

Size: 279 Bytes

Versions: 10

Compression:

Stored size: 279 Bytes

Contents

class BreedGender < ActiveRecord::Base
  self.primary_key = "name"
  
  belongs_to :breed, :foreign_key => 'breed_name'
  belongs_to :gender, :foreign_key => 'gender_name'
  
  col :name
  col :breed_name
  col :gender_name
  col :weight, :type => :float
  col :weight_units
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
earth-0.11.20 lib/earth/pet/breed_gender.rb
earth-0.11.19 lib/earth/pet/breed_gender.rb
earth-0.11.18 lib/earth/pet/breed_gender.rb
earth-0.11.17 lib/earth/pet/breed_gender.rb
earth-0.11.16 lib/earth/pet/breed_gender.rb
earth-0.11.15 lib/earth/pet/breed_gender.rb
earth-0.11.14 lib/earth/pet/breed_gender.rb
earth-0.11.13 lib/earth/pet/breed_gender.rb
earth-0.11.12 lib/earth/pet/breed_gender.rb
earth-0.11.11 lib/earth/pet/breed_gender.rb