Sha256: 5261517d1a1c9ccf3b36b8ada1c718d6718445aa84603302d300926d89f2c693

Contents?: true

Size: 450 Bytes

Versions: 5

Compression:

Stored size: 450 Bytes

Contents

class ClimateDivision < ActiveRecord::Base
  self.primary_key = "name"
  
  has_many :zip_codes, :foreign_key => 'climate_division_name'
  belongs_to :state, :foreign_key => 'state_postal_abbreviation'
  
  RADIUS = 750
  
  col :name
  col :heating_degree_days, :type => :float
  col :heating_degree_days_units
  col :cooling_degree_days, :type => :float
  col :cooling_degree_days_units
  col :state_postal_abbreviation

  warn_unless_size 359
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/locality/climate_division.rb
earth-0.12.3 lib/earth/locality/climate_division.rb
earth-0.12.2 lib/earth/locality/climate_division.rb
earth-0.12.1 lib/earth/locality/climate_division.rb
earth-0.12.0 lib/earth/locality/climate_division.rb