I’ve created a class method in my model called find_filtered. The intent
that I take various params that the user has submitted, and let the
build the query and return the AR collection, which is exactly what
However, now I’d like to paginate the recordset. Everything I’ve been
to find about pagination presumes that you have no pre-existing AR
collection. Is there a way to use the result of my find_filtered (which
an array of AR) and create paginator objects for it?
View this message in context:
Sent from the RubyOnRails Users forum at Nabble.com.