amatsuda/kaminari — Issue #198: Add a max_per_page option to config to prevent loading more items per page
Author: amrnt
Created: 2012-01-30 13:16:23+00:00
State: open

I'm building an api. I dont know if this feature is available but I think it'd be useful to be available.

When set `max_per_page = 100` so when to call `per_page=200` it loads only 100 items. if `per_page` is less than 100 it loads the normal number of items as `params[:per_page]` is.