A couple weeks ago a subscriber, Insightful Talk, asked if I could explain how to improve the previous Kaminari pagination tutorial so there were no page refreshes upon clicking links. To accomplish this we will use AJAX to refresh the videos and pagination portion of our page. Don’t worry all steps too complete will be included in this tutorial walking you through how to add AJAX pagination to your Rails application.
This AJAX pagination tutorial assume you have followed my previous Rails Kaminari Pagination tutorial video, if you have not done so, you will want to reference that video first.
Rails Pagination with the Kaminari Gem
• Rails Pagination with the Kaminari Gem
⏰ Timestamps
0:00 Introduction
0:25 Request
0:57 Without AJAX
1:14 Update Web Packer Config
2:31 Update Views
4:04 Controller Changes
4:35 Create JS Partial
6:00 Finding an Error
6:31 Bear refuses to work
7:01 Correcting Error
8:07 Push to GitHub
9:37 Deploy
9:53 Verify Production
10:23 Closing notes
AWS + Rails Series Playlist
• AWS + Rails
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...
Try Audible and Get Two Free Audiobooks
https://amzn.to/36dXe3V
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!