aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.