Flowdock
method

new

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActionController::Pagination::Paginator
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.