Flowdock
method

new

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionController::Pagination::Paginator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

These similar methods exist in v6.1.7.7:

new(controller, item_count, items_per_page, current_page=1) public

Creates a new Paginator on the given controller for a set of items of size item_count and having items_per_page items per page. Raises ArgumentError if items_per_page is out of bounds (i.e., less than or equal to zero). The page CGI parameter for links defaults to "page" and can be overridden with page_parameter.

Show source
Register or log in to add new notes.