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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to