Skip to content

will_paginate and kaminari pagination methods and tests #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2014

Conversation

bluetwin
Copy link

Pagination Additions

kaminari
  • Added alias: 'limit_value' -> 'per_page'
will_paginate
  • Added out_of_bounds?, next_page, previous_page

Tests were included to cover those attributes discussed in
will_paginate
https://github.com/mislav/will_paginate/blob/master/lib/will_paginate/collection.rb
kaminari
https://github.com/amatsuda/kaminari/blob/master/lib/kaminari/models/array_extension.rb

@chingor13 chingor13 merged commit 9bf38c0 into JsonApiClient:master Apr 28, 2014
JamesGlover added a commit to JamesGlover/json_api_client that referenced this pull request Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants