Sha256: 05405226144fa47c49ccdd0885682c038cdd6fb2959ae88b223a35fbfea1c9b8

Contents?: true

Size: 349 Bytes

Versions: 25

Compression:

Stored size: 349 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'
  
  data_miner do
    tap "Brighter Planet's breed data", Earth.taps_server

    process "pull dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
earth-0.5.0 lib/earth/pet/breed.rb
earth-0.4.12 lib/earth/pet/breed.rb
earth-0.4.11 lib/earth/pet/breed.rb
earth-0.4.10 lib/earth/pet/breed.rb
earth-0.4.9 lib/earth/pet/breed.rb
earth-0.4.8 lib/earth/pet/breed.rb
earth-0.4.7 lib/earth/pet/breed.rb
earth-0.4.6 lib/earth/pet/breed.rb
earth-0.4.5 lib/earth/pet/breed.rb
earth-0.4.4 lib/earth/pet/breed.rb
earth-0.4.3 lib/earth/pet/breed.rb
earth-0.4.2 lib/earth/pet/breed.rb
earth-0.4.1 lib/earth/pet/breed.rb
earth-0.4.0 lib/earth/pet/breed.rb
earth-0.3.15 lib/earth/pet/breed.rb
earth-0.3.14 lib/earth/pet/breed.rb
earth-0.3.13 lib/earth/pet/breed.rb
earth-0.3.11 lib/earth/pet/breed.rb
earth-0.3.10 lib/earth/pet/breed.rb
earth-0.3.9 lib/earth/pet/breed.rb