Sha256: 29042b1f131a916098476c0dca651dca67e69bc0b4d0715794a46dc24a7e4ebe
Contents?: true
Size: 591 Bytes
Versions: 22
Compression:
Stored size: 591 Bytes
Contents
class CensusDivision < ActiveRecord::Base set_primary_key :number belongs_to :census_region, :foreign_key => 'census_region_number' has_many :states, :foreign_key => 'census_division_number' has_many :zip_codes, :through => :states has_many :climate_divisions, :through => :states has_many :residential_energy_consumption_survey_responses, :foreign_key => 'census_division_number' data_miner do tap "Brighter Planet's sanitized census divisions", Earth.taps_server process "pull dependencies" do run_data_miner_on_belongs_to_associations end end end
Version data entries
22 entries across 22 versions & 1 rubygems