aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/dashboard.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/dashboard.rb')
-rw-r--r--activerecord/test/models/dashboard.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/dashboard.rb b/activerecord/test/models/dashboard.rb
index a8a25834b1..1b3b54545f 100644
--- a/activerecord/test/models/dashboard.rb
+++ b/activerecord/test/models/dashboard.rb
@@ -1,3 +1,3 @@
class Dashboard < ActiveRecord::Base
- set_primary_key :dashboard_id
-end \ No newline at end of file
+ self.primary_key = :dashboard_id
+end