Rails 4 pagination with dynamic data

Hi, I have a rails4 application using pagination with gemstone will_paginate.

Is there a way to handle pagination with objects created very often? If you call the first page, and right after that, page 2, looking at new objects, is created in the meantime, it is going to ruin the data (an offset in the sql query, for example, will cause almost the same data as the first page).

Is there a way to use pagination with fast-changing dynamic data?

thanks for your suggestions

+7
dynamic ruby-on-rails-4 pagination will-paginate
source share
1 answer

Alternatively, you can use cursor gem

0
source share

All Articles