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

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -