diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 18:58:41 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 20:13:37 +0000 |
commit | 1a474cc8e41522ae079871d297c0e61ee4f6ef35 (patch) | |
tree | 23d2b2c2c74dc02f68ad6015bf35ce554096cdde /activerecord/test/models/dashboard.rb | |
parent | 4aad289428bf46cf4a13f159819f1993f8fc978f (diff) | |
download | rails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.tar.gz rails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.tar.bz2 rails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.zip |
Deprecate set_primary_key in favour of self.primary_key=
Diffstat (limited to 'activerecord/test/models/dashboard.rb')
-rw-r--r-- | activerecord/test/models/dashboard.rb | 4 |
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 |