Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Implement Pagination in Ruby on Rails (Without Gems)
ChannelJesus CastelloDescription from the creator
Pagination is the art of breaking down the results of an ActiveRecord query into pages.
A page is subset of all the records. In other words, it's part of all the possible things you have in the database.
Why is this helpful?
Well, if you have hundreds, or thousands of records in your database, you probably don't want to show ALL of them at the same time.
It would make your page very slow to load & it could feel overwhelming to your users.
Pagination solves this problem, allowing user to navigate through your records (books, users, articles, etc.) in smaller slices that we call pages.
In this video:
You'll learn how to implement pagination in Ruby on Rails (any version) step-by-step without having to use any Ruby gems.
Not using a gem for this has a number of benefits which I explain in the video.
Would you like to learn more?
- Like & subscribe so you don't miss on new content
- Watch more videos on this channel (over 100 free videos for you to enjoy!)
- Visit my website & get a copy of my Ruby book
rubyguides.com/ruby-book/
Thanks for watching! :)
#Ruby #Rails #Learning
A page is subset of all the records. In other words, it's part of all the possible things you have in the database.
Why is this helpful?
Well, if you have hundreds, or thousands of records in your database, you probably don't want to show ALL of them at the same time.
It would make your page very slow to load & it could feel overwhelming to your users.
Pagination solves this problem, allowing user to navigate through your records (books, users, articles, etc.) in smaller slices that we call pages.
In this video:
You'll learn how to implement pagination in Ruby on Rails (any version) step-by-step without having to use any Ruby gems.
Not using a gem for this has a number of benefits which I explain in the video.
Would you like to learn more?
- Like & subscribe so you don't miss on new content
- Watch more videos on this channel (over 100 free videos for you to enjoy!)
- Visit my website & get a copy of my Ruby book
rubyguides.com/ruby-book/
Thanks for watching! :)
#Ruby #Rails #Learning
About this tutorial
Jesus Castello published this 14:47 video tutorial on November 26, 2019. It has been watched 7,404 times on YouTube.
- Channel
- Jesus Castello
- Category
- Science & Technology
- Duration
- 14:47
- Published
- November 26, 2019
- Views
- 7,404
- Likes
- 207
Tags
Share
This tutorial in other languages
- FRComment mettre en œuvre dans Pagination Ruby on Rails (Sans gemmes)
- ESCómo implementar la paginación en Ruby on Rails (Sin gemas)
- PTComo implementar a paginação no Ruby on Rails (Sem Gems)
- ITCome implementare paginazione in Ruby on Rails (senza Gems)
- DESo implementieren Paginierung in Ruby on Rails (Ohne Gems)
- NLHoe te implementeren Pagination in Ruby on Rails (Zonder Gems)
- RUКак реализовать разбиение на страницы в Ruby On Rails (без драгоценных камней)
- PLJak wdrożyć Pagination w Ruby on Rails (bez Gems)
- JARuby on Railsでの改ページを実装する方法(宝石なし)
- ARكيفية تطبيق ترقيم الصفحات في روبي على القضبان (بدون الجواهر)
- HIपर रूबी में पृष्ठांकन (रत्न के बिना) को लागू करने के लिए कैसे
- IDBagaimana Menerapkan Pagination di Ruby on Rails (Tanpa Gems)