Sha256: d508d97a1b9c2fe0ecddf609788b2e4c1d633e31af1d1c0914861698ed843a46
Contents?: true
Size: 430 Bytes
Versions: 45
Compression:
Stored size: 430 Bytes
Contents
class AutomobileModel < ActiveRecord::Base set_primary_key :name has_many :variants, :class_name => 'AutomobileVariant', :foreign_key => 'model_name' belongs_to :make, :class_name => 'AutomobileMake', :foreign_key => 'make_name' data_miner do tap "Brighter Planet's auto model 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