api-pagination
api-pagination copied to clipboard
:page_facing_up: Link header pagination for Rails and Grape APIs.
Results
24
api-pagination issues
Sort by
recently updated
recently updated
newest added
This gem allows the use of custom page size and number params. However, https://github.com/davidcelis/api-pagination/blob/edfec8316cb900d310420b5f62cd907c27932a02/lib/rails/pagination.rb#L37 seems to indicate that regardless of the params set, it assumes that the page number param...
The header has Per-Page and Total. But no Total Pages.
When a parameter is included in a request but is a blank empty string, there is unexpected and buggy behavior. - When params[:page] == "", #to_i is called on it,...