(New to both Ruby and Rails) I am looking for a Rails (or Ruby idiomatic) way to implement Prev/Next on detail pages. I have lots of inquiry functions that have a Search/Results page, with each result having a link to a Detail page. I''d like the Detail page to have prev/next links to move within the search results. The way I have done it in other frameworks is to have the Search function save the keys of the results in the session and then have the Detail function look in that session list and build next/prev links based on the position of the current Detail record''s key in the results list of keys.