Sha256: dd9997a16562c6b29b1444d6e5d245ee852d898f6fbb5173b1f9284f7c7def7f

Contents?: true

Size: 638 Bytes

Versions: 4

Compression:

Stored size: 638 Bytes

Contents

class AutomobileMakeModelYear < ActiveRecord::Base
  set_primary_key :name
  
  belongs_to :make_year,              :class_name => 'AutomobileMakeYear',             :foreign_key => 'make_year_name'
  has_many :make_model_year_variants, :class_name => 'AutomobileMakeModelYearVariant', :foreign_key => 'make_model_year_name'
  has_many :automobiles,                                                               :foreign_key => 'make_model_year_name'
  
  data_miner do
    tap "Brighter Planet's model year data", Earth.taps_server
    
    process "pull dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
earth-0.3.3 lib/earth/automobile/automobile_make_model_year.rb
earth-0.3.2 lib/earth/automobile/automobile_make_model_year.rb
earth-0.3.1 lib/earth/automobile/automobile_make_model_year.rb
earth-0.3.0 lib/earth/automobile/automobile_make_model_year.rb