A new pagination gem and some thoughts about Rails adoption

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

A new pagination gem and some thoughts about Rails adoption

Gama Franco
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 [hidden email].
To post to this group, send email to [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Joe Guerra
Thanks!  I'll swap out will_paginate.

On Wed, May 16, 2018 at 12:56 PM, GamaFranco <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkOrE7UbQNzrHzZQSyz-12JGAzTKkw2g-VtrW1NRw0sPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

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

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aa2b93f6-580e-4899-8534-0fe8a0c6965e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Joe Guerra


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2dc96fb4-250e-4541-9ea2-440220651013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Gama Franco
That should be easy.


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 if it worked as intended.

Best,
  TF

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a1443839-6f42-4784-beec-6ff429f51ea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Gama Franco
In reply to this post by Joe Guerra
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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cfa13d9e-8d05-469e-9ada-c2a19dcdbda8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Joe Guerra
Yes, I got it working! 

Thanks.

On Friday, May 18, 2018 at 8:37:09 AM UTC-4, GamaFranco wrote:
That's easy!

<a rel="nofollow" href="https://www.google.com/url?q=https://ddnexus.github.io/pagy/pagy-extras&amp;sa=D&amp;source=hangouts&amp;ust=1526727559755000&amp;usg=AFQjCNGYLigFw6eboeKMCXusv23LVIFVKw" dir="ltr" style="color:rgb(38,50,56);font-family:Roboto,sans-serif" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;">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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/62a41483-a598-4f01-9ac2-e65a5a59bb87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Joe Guerra
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

On Friday, May 18, 2018 at 9:07:01 AM UTC-4, Joe Guerra wrote:
Yes, I got it working! 

Thanks.

On Friday, May 18, 2018 at 8:37:09 AM UTC-4, GamaFranco wrote:
That's easy!

<a rel="nofollow" href="https://www.google.com/url?q=https://ddnexus.github.io/pagy/pagy-extras&amp;sa=D&amp;source=hangouts&amp;ust=1526727559755000&amp;usg=AFQjCNGYLigFw6eboeKMCXusv23LVIFVKw" dir="ltr" style="color:rgb(38,50,56);font-family:Roboto,sans-serif" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;">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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/05598c41-8275-493a-813a-ecbfa40916eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Gama Franco
Hi!

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

Thanks,
  TF

On Wednesday, May 23, 2018 at 1:52:39 AM UTC+1, Joe Guerra wrote:
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

On Friday, May 18, 2018 at 9:07:01 AM UTC-4, Joe Guerra wrote:
Yes, I got it working! 

Thanks.

On Friday, May 18, 2018 at 8:37:09 AM UTC-4, GamaFranco wrote:
That's easy!

<a rel="nofollow" href="https://www.google.com/url?q=https://ddnexus.github.io/pagy/pagy-extras&amp;sa=D&amp;source=hangouts&amp;ust=1526727559755000&amp;usg=AFQjCNGYLigFw6eboeKMCXusv23LVIFVKw" dir="ltr" style="color:rgb(38,50,56);font-family:Roboto,sans-serif" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;">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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cb3b4b73-fd50-47eb-bc4a-eb2fa902deea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

Joe Guerra
Ok, how do I turn on gitter for github?

Thanks,
Joe

On Wednesday, May 23, 2018 at 8:06:47 AM UTC-4, GamaFranco wrote:
Hi!

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

Thanks,
  TF

On Wednesday, May 23, 2018 at 1:52:39 AM UTC+1, Joe Guerra wrote:
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

On Friday, May 18, 2018 at 9:07:01 AM UTC-4, Joe Guerra wrote:
Yes, I got it working! 

Thanks.

On Friday, May 18, 2018 at 8:37:09 AM UTC-4, GamaFranco wrote:
That's easy!

<a rel="nofollow" href="https://www.google.com/url?q=https://ddnexus.github.io/pagy/pagy-extras&amp;sa=D&amp;source=hangouts&amp;ust=1526727559755000&amp;usg=AFQjCNGYLigFw6eboeKMCXusv23LVIFVKw" dir="ltr" style="color:rgb(38,50,56);font-family:Roboto,sans-serif" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps://ddnexus.github.io/pagy/pagy-extras\x26sa\x3dD\x26source\x3dhangouts\x26ust\x3d1526727559755000\x26usg\x3dAFQjCNGYLigFw6eboeKMCXusv23LVIFVKw&#39;;return true;">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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/570c2a16-45c4-4119-9331-0cc54d812e93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: A new pagination gem and some thoughts about Rails adoption

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

On 23 May 2018, at 14:08, Joe Guerra <[hidden email]> wrote:

Ok, how do I turn on gitter for github?

Thanks,
Joe

On Wednesday, May 23, 2018 at 8:06:47 AM UTC-4, GamaFranco wrote:
Hi!

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

Thanks,
  TF

On Wednesday, May 23, 2018 at 1:52:39 AM UTC+1, Joe Guerra wrote:
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

On Friday, May 18, 2018 at 9:07:01 AM UTC-4, Joe Guerra wrote:
Yes, I got it working! 

Thanks.

On Friday, May 18, 2018 at 8:37:09 AM UTC-4, GamaFranco wrote:
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

On Thursday, May 17, 2018 at 11:36:28 PM UTC+1, Joe Guerra wrote:


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. 

-- 
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/570c2a16-45c4-4119-9331-0cc54d812e93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/617E7C3E-2062-4872-B66C-7DC7C221BBCC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.