Pagination

July 15, 2012

Because the page length was getting way too long, I’ve added pagination to the bottom of the page with the will\_paginate gem. So easy to use…

Pagination is the kind of thing that made Java so damn frustrating. Replicating this behavior for my crazy database layout would have taken forever.

With Ruby on Rails I can sit back and ponder about whether I should dynamically load the posts as the user scrolls down the page or just have pagination instead of sitting there smacking my forehead wondering if my SQL queries have an off by one error somewhere or if I’ve messed up somewhere else in the code.

Bleh. I’m so happy working in Ruby on Rails…


James Hagerman

Written by James Hagerman

© 2026