lib/earth/residence/dishwasher_use.rb in earth-0.11.10 vs lib/earth/residence/dishwasher_use.rb in earth-0.11.11

- old
+ new

@@ -1,9 +1,9 @@ class DishwasherUse < ActiveRecord::Base - set_primary_key :name + self.primary_key = "name" has_many :residential_energy_consumption_survey_responses col :name col :annual_energy_from_electricity_for_dishwashers, :type => :float col :annual_energy_from_electricity_for_dishwashers_units -end \ No newline at end of file +end