named_scope and limited eager loading
Reported by Tekin | June 3rd, 2008 @ 03:25 PM
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
Comments and changes to this ticket
-
Mislav June 11th, 2008 @ 02:03 PM
- State changed from new to open
- Assigned user changed from Chris Wanstrath to Mislav
I still haven't looked into this. Promise I will
-
Tekin June 11th, 2008 @ 04:44 PM
No problem. I'm hacking my way around it in a quite horrible way for the moment!
-
Mislav October 7th, 2008 @ 12:17 PM
- 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...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Everyone's favorite Ruby library for pagination of practically anything!