I tried
@posts = Post.page(params[:page]).per_page(10)
and
@posts = Post.paginate(:page => 1, :per_page => 10)
This works fine for me:
@posts = Post.paginate(:page => 1, :limit => 10).desc(:_id)
desc(:_id)
is added so that latest posts could be listed first.
A bit late, but for anyone else looking, I found 'will_paginate_mongoid'
https://github.com/lucasas/will_paginate_mongoid
Really straight forward and lets you simply do
collection.skip(20).limit(10)