SaaSHub helps you find the best software and product alternatives Learn more →
Top 8 Ruby Pagination Projects
-
Kaminari
⚡ A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps
I used kaminari for paginating.
-
Add paginate for images using will_paginate gem. Add this to the Gemfile.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Project mention: A powerful search feature with what Rails provides out of the box | dev.to | 2023-01-19
The next step was about backporting the templates, adding Pagy gem for handling pagination and creating the controller. I was then able to show the listings with the models, but the filtering was not working.
-
-
jekyll-paginate-v2
Pagination Generator for Jekyll 3 (enhanced replacement for the old built-in jekyll-paginate gem) ⛺
Project mention: Genics Log #2: Sponsorship from Vercel, Theme updates, Organic Growth and more | dev.to | 2022-06-18This lead me to spend time messing with jekyll-paginate-v2 and understanding how its pagination works. With some days of effort, I came up with jekyll-auto-authors which completely simplifies the process of paginating author pages!
-
There are ways to mitigate the (although not eliminate) the slowing down of offset/limit pagination in later pages. The technique is called a "deferred join" and it is most effective in MySQL. The basic idea is to paginate as little data as necessary, and then do a self-join to get the rest of the data for a single page.
You can read more about it here: https://aaronfrancis.com/2022/efficient-pagination-using-def... or here https://planetscale.com/blog/fastpage-faster-offset-paginati....
There are libraries for Laravel (https://github.com/hammerstonedev/fast-paginate) and Rails (https://github.com/planetscale/fast_page) as well!
Cursor based pagination is wonderful, but sometimes you're stuck with offset/limit for whatever reason. Might as well make it fast.
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
jekyll-auto-authors
Plugin that simplifies adding multiple authors support to Jekyll powered blogs. Solves the 12 year old problem with managing multiple authors in jekyll blogs and publications.
Project mention: Genics Log #2: Sponsorship from Vercel, Theme updates, Organic Growth and more | dev.to | 2022-06-18This lead me to spend time messing with jekyll-paginate-v2 and understanding how its pagination works. With some days of effort, I came up with jekyll-auto-authors which completely simplifies the process of paginating author pages!
Ruby Pagination related posts
- The Ultimate Search for Rails - Episode 1
- Response's waiting took too long
- Create Seamless Loading in Ruby on Rails
- Pagination and infinite scrolling with Rails and the Hotwire stack
- Load More Pagination in Rails with Hotwire Turbo Streams
- Improvements to my Rails app!
- Infinite Scroll with HOTWire Part 1: Configuration
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea596f1b20>
www.saashub.com | 7 Feb 2023
Index
What are some of the best open-source Pagination projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | Kaminari | 8,333 |
2 | will_paginate | 5,676 |
3 | Pagy | 3,951 |
4 | order_query | 506 |
5 | jekyll-paginate-v2 | 475 |
6 | fast_page | 240 |
7 | jsonapi.rb | 217 |
8 | jekyll-auto-authors | 11 |