Sha256: b7b02a3d5a6cfc41f91820ed25146953b4d4a925fff1d0d172e846aefea2dc15
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 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' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sniff-0.0.3 | lib/test_support/data_models/census_division.rb |
sniff-0.0.2 | lib/test_support/data_models/census_division.rb |