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.

eirc's latest activity

Wednesday, October 20 2010
5623 Eager loading a nested association with conditions or order eager loads the w... was updated in Ruby on Rails
  • eirc
    • Tag changed from 2, active_record, eager, eagerloading, eager_loading, has_many, has_many_association, nested to has_many has_many_association, 2.3-stable, 2.3.9, active_record, eager, eagerloading, eager_loading, nested
    by eirc at 3:30 PM

    Reverted tag changes from spam comment above.

Monday, September 13 2010
5623 Eager loading a nested association with conditions or order eager loads the w... was updated in Ruby on Rails
  • eirc
    • Assigned user set to Jeremy Kemper
    • Tag changed from active_record, eager, eagerloading, eager_loading, has_many, has_many_association, nested to 2.3-stable, 2.3.9, active_record, eager, eagerloading, eager_loading, has_many, has_many_association, nested
    by eirc at 4:25 PM

    Diving in the code of ActiveRecord we traced the problem to ...
    ActiveRecord::Associations::JoinDependency#construct_association and the following line:

    return...
  • eirc
    eirc created the ticket at 1:41 PM

    Eager loading a nested has_many association with conditions or order on the nested table loads only the first record.

    class AuthorAddress < ActiveRecord::Base
    ...