Changeset [f07894b01ec0930c7c55a04907e4751a98f9679b] by Paweł Pacana
Revision f07894b01ec0930c7c55a04907e4751a98f9679b,
committed by Paweł Pacana
· September 16th, 2013 @ 05:55 PM
Exclude reorder for count queries.
It turns out reorder behaves differently on Rails 3.1 and
requires
explicit exclude to not pollute count query with order clause.
https://github.com/mislav/will_paginate/commit/f07894b01ec0930c7c55...
2 changed files
-
M
lib/will_paginate/active_record.rb -
M
spec/finders/active_record_spec.rb