0

In rails, does mongoid-pagination have a view helper that will automatically render the pagination links on a view on which it is applied? Do I have to build my own one instead.

For example with Kaminari you can use <%= paginate @pets %> on your view and you get the pagination links ( Prev 1 2 3 Next ).

1 Answer 1

0

Kaminari can actually support Mongoid. Maybe you can explore that area.

1
  • Yes I already have Kaminari in place. I was trying to avoid adding a gem which brings capabilities that are already provided by the Mongoid driver.
    – General_9
    May 16, 2013 at 5:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.