You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful to set a maximum page_size that is allowed, especially for public APIs it would be very bad of having one loading 1000000 records.
Something like kaminari's .max_page_size. Setting it to a value it will load only up to that amount of records per page and no more.
p.s. awesome gem!
The text was updated successfully, but these errors were encountered:
It would be very useful to set a maximum page_size that is allowed, especially for public APIs it would be very bad of having one loading 1000000 records.
Something like kaminari's .max_page_size. Setting it to a value it will load only up to that amount of records per page and no more.
p.s. awesome gem!
The text was updated successfully, but these errors were encountered: