Flowdock
method

count_collection_for_pagination

Importance_1
v1.0.0 - Show latest stable - 0 notes - Class: ActionController::Pagination
count_collection_for_pagination(model, conditions, joins) 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.