Kaminari

screenshot of Kaminari
rails

A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps

Overview:

Kaminari is a sophisticated paginator designed for modern web app frameworks and ORMs. It offers clean and powerful pagination features that are easy to use and configurable. With a scope-based API and engine-based helpers, Kaminari provides a customizable solution that is also ORM and template engine agnostic. It supports various versions of Ruby and Rails, making it suitable for a wide range of applications.

Features:

  • Clean: Does not globally pollute Array, Hash, Object, or AR::Base.
  • Easy to Use: Just bundle the gem to paginate models without any configuration.
  • Simple Scope-based API: Method chainable with less complexity for a modern Rails approach.
  • Customizable Engine-based I18n-aware Helpers: Easily modify behavior and style by overriding partial templates.
  • ORM & Template Engine Agnostic: Supports multiple ORMs, web frameworks, and template engines.
  • Modern: Outputs HTML5 <nav> tag by default and supports Rails unobtrusive Ajax.
  • Supported Versions: Ruby 2.1 to 3.3, Rails 4.1 to 7.1, Sinatra 1.4 and 2.0, Haml 3+, Mongoid 3+, MongoMapper 0.9+, DataMapper 1.1.0+.
rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.