amatsuda/kaminari — pull request #234 by shingara (2012-05-08 20:05:40+00:00)
Title: compatible to mongoid 3

This commit allow a compatibility to Mongoid 3.

I test on Mongoid 2.4 and works too with this commit.