Rails make It possible to map resources that are logically children of other resources In the URL for example
/magazines/:magazine_id/ads/:id show display a specific ad belonging to a specific magazine
Is it possible to do this In Play?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, that is possible. It should look like this in your routes file:
And in your controller