Sha256: dfcb370894b86d7745149419587aa9b74a5c7da6daa040512ba0818d48b36c82

Contents?: true

Size: 756 Bytes

Versions: 9

Compression:

Stored size: 756 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,            :class_name => 'AutomobileFuel',          :foreign_key => 'fuel_code', :primary_key => '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

9 entries across 9 versions & 1 rubygems

Version Path
earth-0.5.0 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.12 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.11 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.10 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.9 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.8 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.7 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.6 lib/earth/automobile/automobile_make_model_year_variant.rb
earth-0.4.5 lib/earth/automobile/automobile_make_model_year_variant.rb