Report question

Question: Rails: Get next / previous record