Forum: Ruby on Rails REST url generation for nested resources.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F78258e63d2879413ebf4558d74c1a9e?d=identicon&s=25 Kevin Yang (Guest)
on 2007-06-21 17:11
(Received via mailing list)
Hello everyone,


   suppose program has_many episodes

    in the restful form_for ,

<% form_for (:episode,:url =>

It looks redandant to me that why do i need to pass the two
parameters ,in which case only @episode is enough?

why rails do this? why not to save the first paramter?

thanks very much

This topic is locked and can not be replied to.