#
Category: Helpers
See all categories.
Methods • Helpers
data_hash
data_hash extracts a hash of key-value pairs that you pluck from the pagy object. It is useful for exporting pagination
Methods • Helpers
headers_hash
headers_hash generates the standard link header defined in the RFC-8288, and adds 4 customizable headers useful for pagination, that you can merge...
Methods • Helpers
links_hash
links_hash returns the :first, :previous, :next, :last non- nil URLs hash.
Methods • Helpers
page_url
page_url returns the URL of any page of any instance. If the page is not available it returns nil.