Kaminari::Cells
Use Kaminari in Cells.
Installation
Add this line to your application's Gemfile:
gem 'kaminari-cells'
Usage
To use the wonderful Kaminari gem in your Cells view models, just do
class CommentsCell < Cell::ViewModel
include Kaminari::Cells
You can now use #paginate
in your cell and it will work.