diff options
Diffstat (limited to 'activerecord/test/models/minivan.rb')
-rw-r--r-- | activerecord/test/models/minivan.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/minivan.rb b/activerecord/test/models/minivan.rb index 830cdb5796..4fe79720ad 100644 --- a/activerecord/test/models/minivan.rb +++ b/activerecord/test/models/minivan.rb @@ -1,5 +1,5 @@ class Minivan < ActiveRecord::Base - set_primary_key :minivan_id + self.primary_key = :minivan_id belongs_to :speedometer has_one :dashboard, :through => :speedometer |