aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/minivan.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/minivan.rb')
-rw-r--r--activerecord/test/models/minivan.rb2
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