Sha256: d30af3660605be0acc560ccb37f8ad44212221893b76e4568d594a65bd993eff
Contents?: true
Size: 507 Bytes
Versions: 74
Compression:
Stored size: 507 Bytes
Contents
class CensusRegion < ActiveRecord::Base set_primary_key :number has_many :census_divisions, :foreign_key => 'census_region_number' has_many :states, :through => :census_divisions # has_many :climate_divisions, :through => :census_divisions # has_many :zip_codes, :through => :census_divisions has_many :residential_energy_consumption_survey_responses, :foreign_key => 'census_region_number' data_miner do tap "Brighter Planet's sanitized census regions", Earth.taps_server end end
Version data entries
74 entries across 74 versions & 2 rubygems