aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-12-02 21:24:47 +0100
committerYves Senn <yves.senn@garaio.com>2012-12-04 11:52:08 +0100
commitdb51704bd9458635ad82e6a7de56a9fd56db64d4 (patch)
treef7e3cf4d528c38145c0e547fd345d2d19823fa6c /activerecord/CHANGELOG.md
parentc7e4ee79326d81f78cfa3d958a8fce34fde83a15 (diff)
downloadrails-db51704bd9458635ad82e6a7de56a9fd56db64d4.tar.gz
rails-db51704bd9458635ad82e6a7de56a9fd56db64d4.tar.bz2
rails-db51704bd9458635ad82e6a7de56a9fd56db64d4.zip
Do not instantiate intermediate AR objects when eager loading.
Closes #3313
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 130d0f05d2..aaaf27a211 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* Do not instantiate intermediate Active Record objects when eager loading.
+ These records caused `after_find` to run more than expected.
+ Fix #3313
+
+ *Yves Senn*
+
* Add STI support to init and building associations.
Allows you to do BaseClass.new(:type => "SubClass") as well as
parent.children.build(:type => "SubClass") or parent.build_child