RailsCasts Pro episodes are now free!

Learn more or hide this

Marco Scholl's Profile

GitHub User: traxanos

Site: https://github.com/phatworx

Comments by Marco Scholl

Avatar

@20

a groupby result is not paginatable, because the result is a key value response.

u must use subselects like:

where("id IN (YOUR SELECT)")

Avatar

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.

https://github.com/phatworx/rails_paginate