lib/earth/locality/census_division.rb in earth-0.12.0 vs lib/earth/locality/census_division.rb in earth-0.12.1
- old
+ new
@@ -7,10 +7,11 @@
has_many :zip_codes, :through => :states
has_many :climate_divisions, :through => :states
has_many :residential_energy_consumption_survey_responses, :foreign_key => 'census_division_number'
# https://spreadsheets.google.com/pub?key=0AoQJbWqPrREqdFJ3U3VaSG1oQW1yclY3M3FsRzRDNFE&hl=en&output=html
- falls_back_on :meeting_building_natural_gas_intensity => 0.0004353615 * 100.cubic_feet.to(:cubic_metres) / 1.square_feet.to(:square_metres),
+ falls_back_on :name => 'fallback',
+ :meeting_building_natural_gas_intensity => 0.0004353615 * 100.cubic_feet.to(:cubic_metres) / 1.square_feet.to(:square_metres),
:meeting_building_fuel_oil_intensity => 0.0000925593.gallons.to(:litres) / 1.square_feet.to(:square_metres),
:meeting_building_electricity_intensity => 0.0084323684 / 1.square_feet.to(:square_metres),
:meeting_building_district_heat_intensity => 0.0004776370.kbtus.to(:megajoules) / 1.square_feet.to(:square_metres)
col :number, :type => :integer