Module: Folio::WillPaginate::ActiveRecord

Defined in:
lib/folio/will_paginate/active_record.rb

Overview

enhances model_or_scope.page(n) method from WillPaginate to behave like a Folio::Ordinal::Page. replaces model_or_scope.paginate(…) method to behave like that from Folio while preserving basic mechanics of the version from WillPaginate.

differences:

* total_entries loading via count is *not* deferred as it was under
  WillPaginate.

* paginate does *not* recognize any parameters beyond those described in
  for Folio's paginate (e.g. finder options, count options).

Defined Under Namespace

Modules: Pagination, RelationMethods