cursor_pagination
cursor_pagination copied to clipboard
ActiveRecord plugin for cursor based pagination
I'm interested in resurrecting this gem, was using an oder version in https://github.com/slack-ruby/slack-ruby-bot-server. This adds CI. Needs to work to pass feature specs.
It caused, because cursor stores information directly on the class. So, the next cursor invocation override previous information. Cursor information must be scope-specific
Use ID as cursor. Later, get entity from DB and get other needed values directly from entity. It will make pretty GET cursor parameter