aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-29 18:58:41 +0000
committerJon Leighton <j@jonathanleighton.com>2011-11-29 20:13:37 +0000
commit1a474cc8e41522ae079871d297c0e61ee4f6ef35 (patch)
tree23d2b2c2c74dc02f68ad6015bf35ce554096cdde /activerecord/CHANGELOG.md
parent4aad289428bf46cf4a13f159819f1993f8fc978f (diff)
downloadrails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.tar.gz
rails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.tar.bz2
rails-1a474cc8e41522ae079871d297c0e61ee4f6ef35.zip
Deprecate set_primary_key in favour of self.primary_key=
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index be2c761faf..f6a00ab0fe 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -5,6 +5,7 @@
* `set_table_name`
* `set_inheritance_column`
* `set_sequence_name`
+ * `set_primary_key`
Use an assignment method instead. For example, instead of `set_table_name`, use `self.table_name=`: