A new pagination gem and some thoughts about Rails adoption

Found this data and decided to share some words about it. Let me know what you think: https://www.imaginarycloud.com/blog/paginating-ruby-on-rails-apps-with-pagy/

Thanks! I’ll swap out will_paginate.

I’ll do one on migration afterwards. But let me know how that worked out for you. Thanks.

I got it will_paginate swapped out for pagy.

Just need to figure out how to add those extra bootstrap files.

That’s easy!

https://ddnexus.github.io/pagy/pagy-extras basically you just install and require, then you use the helpers with the “*_bootstrap” suffix, so instead of using “pagy_nav” you can use “pagy_nav_bootstrap”

Let me know.

Best,

TF

Yes, I got it working!

Thanks.

Ok, just one question.

I have my results page in a gallery and the last page my pagy nav bar is not at the bottom of the page anymore.

It gets tacked to the right of the gallery.

Not sure if will_paginate did the same or not. I’m sure there is a way to escape from the css gallery.

Thanks,

Joe

Hi!

Will be hard to debug from here. Do you mind using the gitter chat feature on the github repo?

Thanks,

TF

Ok, how do I turn on gitter for github?

Thanks,

Joe

Sorry. Here it is: https://gitter.im/ruby-pagy/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Tiago Franco

gama.franco@gmail.com

http://imaginarycloud.com