Paginating several objects


I am trying to paginate several objects into 1 set of pages. I have 2
classes topics and polls. I want to get all the topics and polls as
one collection and have pages for both of them combined.

Is this possible?

What do you use to paginate?

With will_paginate, there is an option “param_name” (or something like
this) to do that.

Sorry, I didn’t read well! I don’t know if it’s possible.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs