aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/speedometer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/speedometer.rb')
-rw-r--r--activerecord/test/models/speedometer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/speedometer.rb b/activerecord/test/models/speedometer.rb
index 94743eff8e..0a7d38d8ec 100644
--- a/activerecord/test/models/speedometer.rb
+++ b/activerecord/test/models/speedometer.rb
@@ -1,4 +1,4 @@
class Speedometer < ActiveRecord::Base
- set_primary_key :speedometer_id
+ self.primary_key = :speedometer_id
belongs_to :dashboard
-end \ No newline at end of file
+end