Fixed a bug that paginates_per does not work with subclasses on mongoid
Merge pull request #634 from kouyaf77/bugfix

Fixed a bug where paginates_per does not work with subclasses on mongoid