Sha256: b1c7705b54eb70ae586206cb9393aa4b13f0bd1b031f6e108f53f4bdac9578a5

Contents?: true

Size: 612 Bytes

Versions: 45

Compression:

Stored size: 612 Bytes

Contents

class AutomobileMake < ActiveRecord::Base
  set_primary_key :name
  
  has_many :make_years,   :class_name => 'AutomobileMakeYear',      :foreign_key => 'make_name'
  has_many :models,       :class_name => 'AutomobileModel',         :foreign_key => 'make_name'
  has_many :fleet_years,  :class_name => 'AutomobileMakeFleetYear', :foreign_key => 'make_name'
  has_many :variants,     :class_name => 'AutomobileVariant',       :foreign_key => 'make_name'
  
  scope :major, :conditions => { :major => true }, :order => :name

  data_miner do
    tap "Brighter Planet's make year data", Earth.taps_server
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
earth-0.2.14 lib/earth/automobile/automobile_make.rb
earth-0.2.13 lib/earth/automobile/automobile_make.rb
earth-0.2.12 lib/earth/automobile/automobile_make.rb
earth-0.2.11 lib/earth/automobile/automobile_make.rb
earth-0.2.9 lib/earth/automobile/automobile_make.rb
earth-0.2.8 lib/earth/automobile/automobile_make.rb
earth-0.2.7 lib/earth/automobile/automobile_make.rb
earth-0.2.6 lib/earth/automobile/automobile_make.rb
earth-0.2.5 lib/earth/automobile/automobile_make.rb
earth-0.2.4 lib/earth/automobile/automobile_make.rb
earth-ruby19-0.2.3 lib/earth/automobile/automobile_make.rb
earth-0.2.3 lib/earth/automobile/automobile_make.rb
earth-0.2.2 lib/earth/automobile/automobile_make.rb
earth-0.2.1 lib/earth/automobile/automobile_make.rb
earth-0.2.0 lib/earth/automobile/automobile_make.rb
earth-0.1.4 lib/earth/automobile/automobile_make.rb
earth-0.1.3 lib/earth/automobile/automobile_make.rb
earth-0.1.2 lib/earth/automobile/automobile_make.rb
earth-0.1.1 lib/earth/automobile/automobile_make.rb
earth-0.1.0 lib/earth/automobile/automobile_make.rb