👩💻 Join our community of thousands of amazing developers!
geared_pagination Paginate Active Record sets at variable speeds Most pagination schemes use a fixed page size. Page 1 returns as many elements as page 2. But that’s frequently not the most sensible way to page through a large recordset when you care about serving the initial request as quickly as possible. This is particularly the case when using the pagination scheme in combination with an infinite scrolling UI. Geared Pagination allows you to define different ratios. By default, we will retur...