Sha256: e0eca3c8720da1f649a878ccf58cedb9423827b1ab25c436cbf3c215e25bb085
Contents?: true
Size: 581 Bytes
Versions: 45
Compression:
Stored size: 581 Bytes
Contents
class AutomobileMakeFleetYear < ActiveRecord::Base set_primary_key :name belongs_to :make, :class_name => 'AutomobileMake', :foreign_key => 'make_name' # WRONG belongs_to :model_year, :class_name => 'AutomobileModelYear', :foreign_key => 'automobile_model_year_name' belongs_to :make_year, :class_name => 'AutomobileMakeYear', :foreign_key => 'make_year_name' data_miner do tap "Brighter Planet's sanitized auto make fleet year data", Earth.taps_server process "bring in dependencies" do run_data_miner_on_belongs_to_associations end end end
Version data entries
45 entries across 45 versions & 2 rubygems