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

Version Path
earth-0.5.0 lib/earth/locality/census_region.rb
earth-0.4.12 lib/earth/locality/census_region.rb
earth-0.4.11 lib/earth/locality/census_region.rb
earth-0.4.10 lib/earth/locality/census_region.rb
earth-0.4.9 lib/earth/locality/census_region.rb
earth-0.4.8 lib/earth/locality/census_region.rb
earth-0.4.7 lib/earth/locality/census_region.rb
earth-0.4.6 lib/earth/locality/census_region.rb
earth-0.4.5 lib/earth/locality/census_region.rb
earth-0.4.4 lib/earth/locality/census_region.rb
earth-0.4.3 lib/earth/locality/census_region.rb
earth-0.4.2 lib/earth/locality/census_region.rb
earth-0.4.1 lib/earth/locality/census_region.rb
earth-0.4.0 lib/earth/locality/census_region.rb
earth-0.3.15 lib/earth/locality/census_region.rb
earth-0.3.14 lib/earth/locality/census_region.rb
earth-0.3.13 lib/earth/locality/census_region.rb
earth-0.3.11 lib/earth/locality/census_region.rb
earth-0.3.10 lib/earth/locality/census_region.rb
earth-0.3.9 lib/earth/locality/census_region.rb