clean_pagination icon indicating copy to clipboard operation
clean_pagination copied to clipboard

API pagination the way RFC7233 intended it

Results 3 clean_pagination issues
Sort by recently updated
recently updated
newest added

Allows accessing setup configuration from one global location (e.g. initializer). Global settings can be overridden in `paginate` call.

Hi, Is anybody keen to work up an Ember client-side implementation for this with me? Would likely base it off the Angular Paginate Anything.

``` ruby max_page = 10 paginate companies.count, max_page do |limit, offset| render json: { :companies=>companies.limit(limit).offset(offset) .as_json()} end ``` if companies.count is 1 request return JSON with one item but it...