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 [8ded457b1b31b157d6fe89b553749579e5ac4a27] by John Devine

Revision 8ded457b1b31b157d6fe89b553749579e5ac4a27, committed by Repository · May 6th, 2008 @ 10:47 AM

Added logic to associations.rb to make sure select_for_limited_ids

includes joins that are needed to reach tables listed in the :order

or :conditions options if they are not joined directly to the main

active_record table.

Signed-off-by: Michael Koziarski

[#109 state:resolved]

http://github.com/rails/rails/co...

2 changed files

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