Sha256: 856f2a266c26bdef1984eae4b85b74670585e7d175e321e821d4c2f29bc53c24

Contents?: true

Size: 498 Bytes

Versions: 14

Compression:

Stored size: 498 Bytes

Contents

class AutomobileMakeModel < ActiveRecord::Base
  set_primary_key :name
  
  belongs_to :make,                   :class_name => 'AutomobileMake',                 :foreign_key => 'make_name'
  has_many :make_model_year_variants, :class_name => 'AutomobileMakeModelYearVariant', :foreign_key => 'make_model_name'
  
  data_miner do
    tap "Brighter Planet's auto model data", Earth.taps_server
    
    process "Pull dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
earth-0.5.0 lib/earth/automobile/automobile_make_model.rb
earth-0.4.12 lib/earth/automobile/automobile_make_model.rb
earth-0.4.11 lib/earth/automobile/automobile_make_model.rb
earth-0.4.10 lib/earth/automobile/automobile_make_model.rb
earth-0.4.9 lib/earth/automobile/automobile_make_model.rb
earth-0.4.8 lib/earth/automobile/automobile_make_model.rb
earth-0.4.7 lib/earth/automobile/automobile_make_model.rb
earth-0.4.6 lib/earth/automobile/automobile_make_model.rb
earth-0.4.5 lib/earth/automobile/automobile_make_model.rb
earth-0.4.4 lib/earth/automobile/automobile_make_model.rb
earth-0.4.3 lib/earth/automobile/automobile_make_model.rb
earth-0.4.2 lib/earth/automobile/automobile_make_model.rb
earth-0.4.1 lib/earth/automobile/automobile_make_model.rb
earth-0.4.0 lib/earth/automobile/automobile_make_model.rb