Sha256: 66acee38def3847f9e612bcab2f38d0c2a5a9fceaa39f5e56a8e6b34c5fc8f57

Contents?: true

Size: 735 Bytes

Versions: 11

Compression:

Stored size: 735 Bytes

Contents

class AutomobileMakeModelYearVariant < ActiveRecord::Base
  set_primary_key :row_hash
  
  belongs_to :make,            :class_name => 'AutomobileMake',          :foreign_key => 'make_name'
  belongs_to :make_model,      :class_name => 'AutomobileMakeModel',     :foreign_key => 'make_model_name'
  belongs_to :make_model_year, :class_name => 'AutomobileMakeModelYear', :foreign_key => 'make_model_year_name'
  belongs_to :fuel_type,       :class_name => 'AutomobileFuelType',      :foreign_key => 'fuel_type_code'

  data_miner do
    tap "Brighter Planet's sanitized automobile make model year variant data", Earth.taps_server
    
    process "pull dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
earth-0.3.15 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.14 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.13 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.11 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.10 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.9 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.8 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.7 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.6 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.5 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.3.4 lib/earth/automobile/automobile_make_model_year_variant.rb