diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-07-25 13:05:05 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-07-25 13:05:53 -0600 |
commit | 119b9181ece399c67213543fb5227b82688b536f (patch) | |
tree | e490ef2e65f67ad884dac0f3f04d352f5edcb452 /activerecord/CHANGELOG.md | |
parent | 9caf2cbf268137113447ac8156b862b5d84063b5 (diff) | |
download | rails-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.md | 6 |
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!`). |