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.

named_scope and limited eager loading

#229

As described here, eager loaded tables are dropped when using will_paginate with named_scope.

Application code: http://pastie.org/207771

Log file showing error: http://pastie.org/207772

Reported by Tekin · June 3rd, 2008 @ 03:25 PM

State: hold
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Mislav
    Mislav
    • State changed from new to open
    • Assigned user changed from Chris Wanstrath to Mislav

    I still haven't looked into this. Promise I will

    June 11th, 2008 @ 02:03 PM

  2. Tekin
    Tekin

    No problem. I'm hacking my way around it in a quite horrible way for the moment!

    June 11th, 2008 @ 04:44 PM

  3. Mislav
    Mislav
    • State changed from open to hold
    • Tag set to bug, named_scope, will_paginate

    I cannot recreate this failure. Can you please look at this added test and tell if I've missed something: http://github.com/mislav/will_pa...

    October 7th, 2008 @ 12:17 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.