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 [1619c2435b2b9c821b2b0dcab9624dbb6b23eaaa] by Jon Leighton

Revision 1619c2435b2b9c821b2b0dcab9624dbb6b23eaaa, committed by Jon Leighton · December 23rd, 2010 @ 11:19 PM

Revert "Optimize _ids for hm:t with belongs_to source". The optimisation has too many edge cases, such as when the reflection, source reflection, or through reflection has conditions, orders, etc. [#6153 state:resolved]

This reverts commit 373b053dc8b99dac1abc3879a17a2bf8c30302b5.

Conflicts:

activerecord/lib/active_record/associations.rb

https://github.com/rails/rails/commit/1619c2435b2b9c821b2b0dcab9624...

2 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb