geared_pagination icon indicating copy to clipboard operation
geared_pagination copied to clipboard

Paginate Active Record sets at variable speeds

Results 7 geared_pagination issues
Sort by recently updated
recently updated
newest added

Also fixes the Ruby 2.7 run, which currently fails because of a bundler incompatibility issue. Runs green on my fork.

## Changes - Fixed `records_count` to handle hashes (typically returned with `group`). As it stands, only `ActiveRecord_Relation` are handled. This fix ensures an integer is always returned. - Changed `count`...

## Description This pull request adds the ability to customize the cursor query parameter name. ## Changes The `cursor_name` configuration option can now be set to a custom value in...

Right now, this gem can only be used _out of the box_ in full applications. In order to use it in API-only applications (or in API controllers), `GearedPagination::Controller` needs to...

`actions/setup-ruby` is already [deprecated](https://github.com/actions/setup-ruby).

Hi there I'm currently building an API with geared_pagination and was wondering if it would make sense to add `unscope(:select, :order, :group)` to [GearedPagination::Recordset#records_count](https://github.com/basecamp/geared_pagination/blob/96d51c1490d9c4754a74f7eada92e5ed76ee71af/lib/geared_pagination/recordset.rb#L32) as it otherwise causes some trouble...

There is possibility to meet unintended behavior when you use a datetime column on cursor-based pagination without any other unique identifiers. But it seems no way to fix this on...