Flowdock
method

paginate

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

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.

paginate(collection_id, options={}) public

Creates a before_filter which automatically paginates an Active Record model for all actions in a controller (or certain actions if specified with the :actions option).

options are the same as PaginationHelper#paginate, with the addition of:

:actions:an array of actions for which the pagination is active. Defaults to nil (i.e., every action)
Show source
Register or log in to add new notes.