Sha256: 4d46eda1f81e9a4880a2cb8f65c6108f989dfd0b6391c26d2e2287776215eb19
Contents?: true
Size: 688 Bytes
Versions: 11
Compression:
Stored size: 688 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 => 'AutomobileMakeModel', :foreign_key => 'make_name' has_many :fleet_years, :class_name => 'AutomobileMakeFleetYear', :foreign_key => 'make_name' has_many :make_model_year_variants, :class_name => 'AutomobileMakeModelYearVariant', :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
11 entries across 11 versions & 1 rubygems