Sha256: e89969d7962a58f8278f5c85eb2aefde9647e2390e72c95726af5e22279fb9c4

Contents?: true

Size: 502 Bytes

Versions: 15

Compression:

Stored size: 502 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 "bring in dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
earth-0.3.15 lib/earth/automobile/automobile_make_model.rb
earth-0.3.14 lib/earth/automobile/automobile_make_model.rb
earth-0.3.13 lib/earth/automobile/automobile_make_model.rb
earth-0.3.11 lib/earth/automobile/automobile_make_model.rb
earth-0.3.10 lib/earth/automobile/automobile_make_model.rb
earth-0.3.9 lib/earth/automobile/automobile_make_model.rb
earth-0.3.8 lib/earth/automobile/automobile_make_model.rb
earth-0.3.7 lib/earth/automobile/automobile_make_model.rb
earth-0.3.6 lib/earth/automobile/automobile_make_model.rb
earth-0.3.5 lib/earth/automobile/automobile_make_model.rb
earth-0.3.4 lib/earth/automobile/automobile_make_model.rb
earth-0.3.3 lib/earth/automobile/automobile_make_model.rb
earth-0.3.2 lib/earth/automobile/automobile_make_model.rb
earth-0.3.1 lib/earth/automobile/automobile_make_model.rb
earth-0.3.0 lib/earth/automobile/automobile_make_model.rb