method
count_collection_for_pagination
v1.1.6 -
Show latest stable
- Class:
ActionController::Pagination
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.