Rails Pagination with the Kaminari Gem

Опубликовано: 03 Апрель 2026
на канале: BrainTrust Digital
3,901
114

Do you want to learn how to add pagination to your rails 6 application? In this AWS Rails tutorial we will walk through how to add pagination to your Rails 6 application using the Kaminari gem. We will install the gem, generate the views, get those views styled via Bootstrap 4. Finally will paginate our users and videos pages.

⏰ Timestamps
0:00 Introduction
1:02 Add Gem
1:31 Generate Config
1:55 Generate Views
2:46 Update Config
3:26 Check out Views
3:48 Paginate Users
5:37 Bear vs Avocado Round 2
6:03 Paginate Videos
7:35 Push to GitHub
8:30 Deploy
8:42 Check in Production
8:50 Closing notes

AWS + Rails Series Playlist
   • AWS + Rails  

Kaminari Gem
https://github.com/kaminari/kaminari

My Gear List
http://brain-trust.io/my-gear

My YouTube SEO Software
https://www.tubebuddy.com/braintrust

My Accounting Software
https://shareasale.com/r.cfm?b=960179...

Make sure you subscribe to my channel to keep up to date with new content!

DISCLAIMER: Links in this description include affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting BrainTrust Digital so I can continue to provide you with free content each week!