Using :keyset returns Array #883
kjakub
started this conversation in
Changes and Refactorings
Replies: 1 comment 9 replies
-
|
No. We need to retrieve the keyset values of the last record in the page to provide the next page and URL. An AR Relation is just representing the query, not the actual data. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@pagy, @users = pagy(:keyset, User.order(:id))returns Array, would it be possible to retain ActiveRecord Relation ?
Beta Was this translation helpful? Give feedback.
All reactions