lib/earth/bus/bus_fuel_control.rb in earth-0.11.10 vs lib/earth/bus/bus_fuel_control.rb in earth-0.11.11

- old
+ new

@@ -1,11 +1,11 @@ require 'earth/fuel' class BusFuelControl < ActiveRecord::Base - set_primary_key :name + self.primary_key = "name" col :name col :bus_fuel_name col :control col :ch4_emission_factor, :type => :float col :ch4_emission_factor_units col :n2o_emission_factor, :type => :float col :n2o_emission_factor_units -end \ No newline at end of file +end