Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [fc9a04b6a69d6821a6f1601e3e0dd518300fa138] by Jon Leighton

Revision fc9a04b6a69d6821a6f1601e3e0dd518300fa138, committed by Jon Leighton · April 13th, 2011 @ 03:46 AM

Removing the scope-caching which happens on association proxies, because the query is already cached by the query cacher. For formalised proof see http://www.youtube.com/watch?v=wDefXLb-FDs
https://github.com/rails/rails/commit/fc9a04b6a69d6821a6f1601e3e0dd...

3 changed files

  • M activerecord/lib/active_record/associations/collection_association.rb
  • M activerecord/lib/active_record/associations/collection_proxy.rb
  • M activerecord/test/cases/named_scope_test.rb