In my Rails app, I have a section called Situations, which is basically a textual description of a situation. But there are several of them. I want to be able to display only one at a time and each one on its own page (the newest created ones first), and then at the bottom of the page I have links that go to Older and Newer situations.
Assume that I have a @situations
object in my code that contains all the situations that I want to display. What should I do next (in the controller and the view).