Sha256: 17022ccb736a638c801bf16e049df500ee2bd26bbb271eedda34ba5dfcb74666

Contents?: true

Size: 465 Bytes

Versions: 10

Compression:

Stored size: 465 Bytes

Contents

class AirConditionerUse < ActiveRecord::Base
  self.primary_key = "name"
  
  has_many :residential_energy_consumption_survey_responses

  falls_back_on :fugitive_emission => 0.102295.pounds_per_square_foot.to(:kilograms_per_square_metre), # https://brighterplanet.sifterapp.com/projects/30/issues/430
                :fugitive_emission_units => 'kilograms_per_square_metre'

  col :name
  col :fugitive_emission, :type => :float
  col :fugitive_emission_units
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
earth-0.11.20 lib/earth/residence/air_conditioner_use.rb
earth-0.11.19 lib/earth/residence/air_conditioner_use.rb
earth-0.11.18 lib/earth/residence/air_conditioner_use.rb
earth-0.11.17 lib/earth/residence/air_conditioner_use.rb
earth-0.11.16 lib/earth/residence/air_conditioner_use.rb
earth-0.11.15 lib/earth/residence/air_conditioner_use.rb
earth-0.11.14 lib/earth/residence/air_conditioner_use.rb
earth-0.11.13 lib/earth/residence/air_conditioner_use.rb
earth-0.11.12 lib/earth/residence/air_conditioner_use.rb
earth-0.11.11 lib/earth/residence/air_conditioner_use.rb