I'm using Ice_cube gem to generate events, and looks fine. The model that implements the recurrency is called "Job" , now I have a list of job, using pagination. I need to sort the Jobs in the list using the next events. The problem is that I'm using find method and will paginate to obtain the jobs . So my question is hoy I can sort the jobs , using the next event like parameter ?
Thanks.