aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-06-22 15:25:36 +0200
committerYves Senn <yves.senn@gmail.com>2015-06-22 15:45:08 +0200
commit30c9aa7883b5363ce3f50aa010a4245a418bca29 (patch)
tree8ee50c0e46c8411ace86100081959c4289eae887 /activerecord/CHANGELOG.md
parent73aa66342e685b21ece23192bcb0e79c069e962a (diff)
downloadrails-30c9aa7883b5363ce3f50aa010a4245a418bca29.tar.gz
rails-30c9aa7883b5363ce3f50aa010a4245a418bca29.tar.bz2
rails-30c9aa7883b5363ce3f50aa010a4245a418bca29.zip
AR absence validator respects `marked_for_destruction?`. Closes #20449.
Associated objects that were marked for destruction are considered absent.
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 9b5310b6d5..3351013b16 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* `validates_absence_of` respects `marked_for_destruction?`.
+
+ Fixes #20449.
+
+ *Yves Senn*
+
* Include the `Enumerable` module in `ActiveRecord::Relation`
*Sean Griffin & bogdan*