DEV Community

loading...

Discussion on: Pagination in Rails

Collapse
kinnalru profile image
Samoilenko Yuri

Total count which using to calculate page count will cause full database scan. So be careful and prepared when total items count start approaching a ~ 1M

Collapse
rwparrish profile image
rwparrish Author

Good point. Thanks for sharing!