Kaminari is a pagination library for Ruby web applications. It works with Active Record, Mongoid, and other ORMs to paginate database queries, providing both the pagination logic and view helpers for rendering page navigation. Unlike older pagination solutions, Kaminari uses scopes and method chaining, integrating cleanly with modern Rails query patterns. The gem is designed to be theme-able, allowing you to customize the pagination UI without modifying the core functionality.
gem install kaminari Run this gem instantly in your browser without any installation:
Open in RunRuby.dev →All 53 versions available for installation