This project is archived and is in readonly mode.
AR::Base.find_every should support :preload => false option
-
Elliot Winkler
- Title changed from Feature Request - add association option for find_with_associations to AR::Base.find_every should support :preload => false option
I've been wanting this too, and so I made a patch for it (pass
:preload => falseto disable preloading for a specific query). A test is included, but I wasn't quite sure where it should go (looking through all those tests gives me a headache), or even if the one is enough. But it made sense to me, at least. -
CancelProfileIsBroken
- Tag changed from eager_loading, find_with_associations, include, preload_associations to bugmash, eager_loading, find_with_associations, include, preload_associations
-
Pratik
- Assigned user set to Pratik
- State changed from new to hold
- Tag changed from bugmash, eager_loading, find_with_associations, include, preload_associations to arel, preload
Keeping this on hold till Emilio's arel branch is merged in. We had a discussion in the core ML about this a while ago - http://groups.google.com/group/rubyonrails-core/browse_thread/threa...
Please do chime in there if you have any more thoughts/suggestions.
Thanks!
