Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: traxanos
a groupby result is not paginatable, because the result is a key value response.
u must use subselects like:
where("id IN (YOUR SELECT)")
i think kaminari has to much views.
i have build my own paginator, that not need so much views. it use only ul/li's with good css class for styling or hidding.