Ferret, will_paginate and group by


#1

Hi,

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?


M.