title: pagination with kaminari and mongoid
body: <p>I have this problem</p>
  <pre><code>undefined method `total_pages' for
  # &lt;Mongoid::Criteria:0x00000002651d80&gt;
  
  # controller
  @services = Service.paginate(:page =&gt; params[:page], :per_page =&gt; 3)
  
  # view
  &lt;% paginate @services %&gt;
  </code></pre>
  <p>The mongo doesn't return the object.</p>