Sha256: 117e6db097d09e4bfb8ca0344f1f55c4b747249b34a17f9fb08125a4d93bb1e1
Contents?: true
Size: 541 Bytes
Versions: 13
Compression:
Stored size: 541 Bytes
Contents
require 'earth/fuel/data_miner' AutomobileModel.class_eval do data_miner do process "Start from scratch" do delete_all end process "Ensure AutomobileMakeModelYearVariant is populated" do AutomobileMakeModelYearVariant.run_data_miner! end process "Derive model names from automobile make model year variants" do ::Earth::Utils.insert_ignore( :src => AutomobileMakeModelYearVariant, :dest => AutomobileModel, :cols => { :model_name => :name } ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems