I’ve been using ElasticSearch + Tire to (finally!) build Player FM search and they’ve worked well.
One little trick I used just now is a responsive pagination. I’m using will_paginate and bootstrap_will_paginate gems for this.
Normally, you get this clutter on mobile:
Fortunately, will_paginate marks classes semantically, so you can do this instead:
using a SASS media query:
- @media (max-width: 480px)
- display: none
- display: inline
I think there are some other ways to do it via server-side mobile detection, but this was a simple and reliable trick.