In this AWS Rails tutorial we walk through the addition of a simple search with pagination to your Ruby on Rails application. I have kept this search intentionally simple. There are several complex search options like Solr and ElasticSearch — this is not that, we may cover those in the future. Let me know in the comments section if you want me to cover a more advanced search option.
I have a video tutorial covering Rails Pagination linked below. This video depends on pagination with the Kaminari gem, if you need help adding pagination to your Rails app you may want to start with that video tutorial first.
While not required, this video also uses AJAX pagination to enable clean page transition without a full refresh. This was another subscriber requested tutorial. If you are interested in that topic is also linked below.
⏰ Timestamps
0:00 Introduction
0:26 Aden’s Request
1:37 Create Git branch
1:54 Update view
3:01 Add styles
3:38 Add search
5:04 Verify search
5:27 Refactor serach
6:54 Minor view update
7:49 Push to GitHub
9:08 Deploy
9:26 Verify Production
10:09 Closing notes
Rails Pagination with the Kaminari Gem
• Rails Pagination with the Kaminari Gem
AJAX Pagination Tutorial
• AJAX Pagination Tutorial
How to use Git and GitHub for your Rails Application
• How to use Git and GitHub for your Ra...
How to Deploy Your First Rails App to Amazon EC2
• How to Deploy Your First Rails App to...
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!