aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-16 21:01:47 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-16 21:01:47 -0300
commita9ebfc0f6a1b7a54a425887b9d1a37b08633666b (patch)
tree7d8bc9cb78e94699bfbfa668500aff9c9258ade8
parent4877737f29cb927e7a3cda2990d464bcaa9baea1 (diff)
downloadrails-a9ebfc0f6a1b7a54a425887b9d1a37b08633666b.tar.gz
rails-a9ebfc0f6a1b7a54a425887b9d1a37b08633666b.tar.bz2
rails-a9ebfc0f6a1b7a54a425887b9d1a37b08633666b.zip
Add CHANGELOG entry for #15071 [ci skip]
-rw-r--r--activerecord/CHANGELOG.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 5647204859..48e2862671 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,11 @@
+* Restrict deletion of record when using `delete_all` with `uniq`, `group`, `having`
+ or `offset`.
+
+ I these cases the generated query ignores them and that causes unintended
+ records to be deleted.
+
+ *Leandro Facchinetti*
+
* Floats with limit >= 25 that get turned into doubles in MySQL no longer have
their limit dropped from the schema.