A new pagination gem and some thoughts about Rails adoption

69 views
Skip to first unread message

GamaFranco

unread,
May 16, 2018, 12:56:17 PM5/16/18
to Ruby on Rails: Talk
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/

Joe Guerra

unread,
May 16, 2018, 1:12:29 PM5/16/18
to rubyonra...@googlegroups.com
Thanks!  I'll swap out will_paginate.

On Wed, May 16, 2018 at 12:56 PM, GamaFranco <gama....@gmail.com> wrote:
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/

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1fdb0101-b2f7-4607-900b-3a652712eac4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

GamaFranco

unread,
May 17, 2018, 4:58:47 AM5/17/18
to Ruby on Rails: Talk
I’ll do one on migration afterwards. But let me know how that worked out for you. Thanks.

Joe Guerra

unread,
May 17, 2018, 6:36:28 PM5/17/18
to Ruby on Rails: Talk


On Thursday, May 17, 2018 at 4:58:47 AM UTC-4, GamaFranco wrote:
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. 
Message has been deleted

GamaFranco

unread,
May 18, 2018, 8:37:09 AM5/18/18
to Ruby on Rails: Talk
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

Joe Guerra

unread,
May 18, 2018, 9:07:01 AM5/18/18
to Ruby on Rails: Talk
Yes, I got it working! 

Thanks.

Joe Guerra

unread,
May 22, 2018, 8:52:39 PM5/22/18
to Ruby on Rails: Talk
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

GamaFranco

unread,
May 23, 2018, 8:06:47 AM5/23/18
to Ruby on Rails: Talk
Hi!

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

Thanks,
  TF

Joe Guerra

unread,
May 23, 2018, 9:08:51 AM5/23/18
to Ruby on Rails: Talk
Ok, how do I turn on gitter for github?

Thanks,
Joe

Tiago Franco

unread,
May 23, 2018, 10:27:06 AM5/23/18
to rubyonra...@googlegroups.com
-- 
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/DCzs0bS_kgQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/570c2a16-45c4-4119-9331-0cc54d812e93%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages