Module: BrighterPlanet::Pet::Data
- Defined in:
- lib/pet/data.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/pet/data.rb', line 4 def self.included(base) base.data_miner do schema do string 'name' string 'species_id' string 'breed_id' string 'gender_id' float 'weight' date 'acquisition' date 'retirement' end process "pull orphans" do BreedGender.run_data_miner! end process :run_data_miner_on_belongs_to_associations end end |