diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-25 17:48:59 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-25 17:48:59 -0800 |
commit | e4c0a225ae029af91d26735d8085a09d6d64859e (patch) | |
tree | 3c5d7d29e3342f9187d23ca5d508230014ca2819 /activerecord/CHANGELOG.md | |
parent | 19dd2166103cc1d39d7346714c46f32191958981 (diff) | |
parent | 09f941c507455e5523cd2d990117c1fcf4f0ab9c (diff) | |
download | rails-e4c0a225ae029af91d26735d8085a09d6d64859e.tar.gz rails-e4c0a225ae029af91d26735d8085a09d6d64859e.tar.bz2 rails-e4c0a225ae029af91d26735d8085a09d6d64859e.zip |
Merge pull request #13042 from brianstorti/fix-dependent-destroy-12812
Raise `RecordNotDestroyed` when children can't be replaced
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 1114cdb94d..bce288aefb 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,9 @@ +* Raise `ActiveRecord::RecordNotDestroyed` when a replaced child marked with `dependent: destroy` fails to be destroyed. + + Fix #12812 + + *Brian Thomas Storti* + * Fix validation on uniqueness of empty association. *Evgeny Li* |