I have the following tables: courses, students, and rosters. The rosters table references the courses and students tables. With default routes in place, to list the students in a course I would use: http://localhost:3000/rosters/list
but this lists the rosters for all courses. if I use http://localhost:3000/rosters/list/1 rails looks in the rosters table for entry with the id =1. How do I tell it I want all the entries where course_id = 1? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

