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

- old
+ new

@@ -1,8 +1,8 @@ require 'earth/locality' class ResidenceFuelPrice < ActiveRecord::Base - set_primary_key :row_hash + self.primary_key = "row_hash" extend CohortScope self.minimum_cohort_size = 5 # ? FIXME belongs_to :fuel, :class_name => 'ResidenceFuelType', :foreign_key => 'residence_fuel_type_name' @@ -17,6 +17,6 @@ col :price_description col :locatable_id col :locatable_type add_index [:price, :residence_fuel_type_name, :month, :year, :locatable_type, :locatable_id] add_index [:price, :residence_fuel_type_name] -end \ No newline at end of file +end