REST url generation for nested resources

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs