I have a model for School and Student. Their relationship is School has_many Students. I am trying to render a view where if I am on the School index page and I click "Show", it will open up a new page and display a list of students that belong to that school. Ex:
School
- Student1
- Student2
- Student3
You can do as following:
Don't hesitate to ask for explanations if you don't fully understand ;)