Flowdock
method

count_collection_for_pagination

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionController::Pagination

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.

count_collection_for_pagination(model, options) protected

Returns the total number of items in the collection to be paginated for the model and given conditions. Override this method to implement a custom counter.

Show source
Register or log in to add new notes.