lib/earth/automobile/automobile_make_year.rb in earth-0.11.10 vs lib/earth/automobile/automobile_make_year.rb in earth-0.11.11
- old
+ new
@@ -1,7 +1,7 @@
require 'earth/fuel'
class AutomobileMakeYear < ActiveRecord::Base
- set_primary_key :name
+ self.primary_key = "name"
col :name
col :make_name
col :year, :type => :integer
col :fuel_efficiency, :type => :float