There are 2 repositories under willpaginate topic.
:page_facing_up: Link header pagination for Rails and Grape APIs.
Page number validation. Utility methods for pagination page and per page that make sure you'll always have a valid number
Pagination using will_paginate in Rails 5. https://rubyplus.com/articles/3471-Will-Paginate-in-Rails-5
Upload/persist CSV file to PSQL then search, sort, paginate with AJAX