Hello,
I’m having some troubles figuring how a REST two-step creation process
for
a resource could take place. The resource is also nested.
I have Projects that may have Contributions.
So here is the routes:
map.resources :projects do |projects|
projects.resources :contributions, :name_prefix => ‘project_’
end
Adding contribution is a two-steps (two forms) process: first some data,
then something other… something like an wizard, you know.
There are no problems, of course, on the first new/create RESTful
step… but what have I to do to remain REST, but to proceed to
step number two?
Something like projects/20/contributions/new;step1 and
projects/20/contributions/new;step2?
Thank you
Claudio C.