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