Rails-api gem pagination -
is there way add json pagination using rails-api gem api?
i want able fetch first 50 users, on call start @ 50th user , 50 more.
something this: url.com/api/v1/users?start=50
you can use will paginate, can specify how many item want show.
you can follow rails cast tutorial on how use paginate
Comments
Post a Comment