pagination.rb

lib/sequel/extensions/pagination.rb
Last Update: 2013-04-29 17:49:40 -0700

The pagination extension adds the Sequel::Dataset#paginate and each_page methods, which return paginated (limited and offset) datasets with some helpful methods that make creating a paginated display easier.

To load the extension:

Sequel.extension :pagination

This extension uses Object#extend at runtime, which can hurt performance.