rails_cursor_pagination
rails_cursor_pagination copied to clipboard
Add cursor pagination to your ActiveRecord backed application
Right now, to use the pagination in a Rails project, we have to write something like this in the controller: ```ruby def index @posts = Post.all paginated_posts = RailsCursorPagination::Paginator .new(first:...
It seems like it, but i don't understand the implementation of a connections wrapper well enough to really get it. I'm guessing this would handle creating the "connection" without calling...
Around April 15th the CI setup testing against Postgres started failing. This failure was unrelated to any code changes and started happening during the setup steps of the job, before...
In some cases, we might want to access the paginated records directly and not just have the resulting hash object. Right now, to be able to access these, we would...
I understand that when giving a `order_by:` column other than the default `:id`, extra care is required to ensure that unique results are accounted for because we cannot ensure that...
This pull request addresses an issue where using the `order_by` parameter with columns that exist in multiple joined tables (e.g., `created_at`) would result in SQL ambiguity errors. The fix ensures...
We noticed that even without providing `with_total: true`, paginator was performing two `select count(*)` queries in order to determine the next and previous pages. This has also been highlighted as...