A look at the kaminari plugin seems to apply only to the ActiveRecord and ActiveRecord realms, but find_by_sql doesn't work as a scope, but returns an array.
I did not find, digging through the fireplace, a transparent way to "split pages" into an array. You can try to collapse it manually, but it can be tricky.
source share