diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-05-18 20:48:11 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-05-18 20:55:12 +0100 |
commit | b98d1e21635d8776de8893cc09bd86c71f6c78f0 (patch) | |
tree | e2b3a7fe3982e4ae4cfaa718a9165d4f3243d9b7 /activerecord/CHANGELOG.md | |
parent | 2802ad0f72cd030efc3c4ec4f033389564609cec (diff) | |
download | rails-b98d1e21635d8776de8893cc09bd86c71f6c78f0.tar.gz rails-b98d1e21635d8776de8893cc09bd86c71f6c78f0.tar.bz2 rails-b98d1e21635d8776de8893cc09bd86c71f6c78f0.zip |
Perf: Don't load the association for #delete_all.
Bug #6289
Conflicts:
activerecord/test/cases/associations/has_many_associations_test.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 2f4a0873b0..8dab1f3db0 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,8 @@ ## Rails 3.2.4 (unreleased) ## +* Perf fix: Don't load the records when doing assoc.delete_all. + GH #6289. *Jon Leighton* + * Association preloading shouldn't be affected by the current scoping. This could cause infinite recursion and potentially other problems. See GH #5667. *Jon Leighton* |