Let's describe route for nested resource map.resources('post', function (post) { post.resources('comments'); }); This routing map will provide the following routes: $ railway routes post_comments GET /posts/:post_id/comments comments#index post_comments POST /posts/:post_id/comments c...