aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-07-25 13:05:05 -0600
committerSean Griffin <sean@thoughtbot.com>2015-07-25 13:05:53 -0600
commit119b9181ece399c67213543fb5227b82688b536f (patch)
treee490ef2e65f67ad884dac0f3f04d352f5edcb452 /activerecord/CHANGELOG.md
parent9caf2cbf268137113447ac8156b862b5d84063b5 (diff)
downloadrails-119b9181ece399c67213543fb5227b82688b536f.tar.gz
rails-119b9181ece399c67213543fb5227b82688b536f.tar.bz2
rails-119b9181ece399c67213543fb5227b82688b536f.zip
Properly allow uniqueness validations on primary keys.
This is an alternate implementation of #20966. [Sean Griffin & presskey]
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 99d9101347..4cf54ffeb1 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Properly allow uniqueness validations on primary keys.
+
+ Fixes #20966.
+
+ *Sean Griffin & presskey*
+
* Don't raise an error if an association failed to destroy when `destroy` was
called on the parent (as opposed to `destroy!`).