#90 ✓resolved
Elijah Miller

paginate on an association loads the entire association before doing a count

Reported by Elijah Miller | August 24th, 2007 @ 11:52 AM

It would appear the scoper area of wp_count! in finder.rb is causing the association to be completely loaded before doing any pagination on it. Line 122 of finder.rb calls respond_to? which in turn seems to be doing the loading of all objects.

Changeset 326 is the culprit.

Comments and changes to this ticket

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.

New-ticket Create new ticket

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!

Pages