Michael Ragalie
Not a member
Michael Ragalie's latest activity
Friday, December 12 2008
255
paginate very slow on large queries with :group
was updated
in will_paginate library
-
Michael Ragalie commented at 12:57 AMThat worked like a charm. All I did was use
Model.paginate :page => 1, :per_page => 10, :group => 'foo.id', :count => {:group => nil, :select => "DISTINCT fo...
Wednesday, December 10 2008
255
paginate very slow on large queries with :group
was created
in will_paginate library
-
Michael Ragalie created the ticket at 3:37 AMIn finder.rb, wp_count() passes off to count() in order to figure out how many total results exist. When :group is specified, count() uses execute_grouped_calcu...