Forum: Ruby on Rails ferret, will_paginate and group by

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Marcelo B. (Guest)
on 2009-04-26 01:10
(Received via mailing list)

Is it possible to use "find_with_ferret" and GROUP BY together?

Count(*) doesn't return what will_paginate expects when using GROUP
BY, and AFAIK a workaround for that is to manually get total_entries
and pass it to Model.paginate.

However how does that work with find_with_ferret where I have no idea
how to find total_entries?

Is it even possible?

This topic is locked and can not be replied to.