Hi Colin,

Sorry i understand bits but I'm still new at rails. I see the form 
action is /tests and the form POSTs i.e.

     tests   GET        /tests(.:format)              tests#index
               POST      /tests(.:format)              tests#create 
<---- this one
               POST      /tests(.:format)              tests#save 
<-------- new one
new_test  GET        /tests/new(.:format)      tests#new
 edit_test GET       /tests/:id/edit(.:format)  test#edit
        test GET       /tests/:id(.:format)          tests#show
               PUT       /tests/:id(.:format)          tests#update
               DELETE  /tests/:id(.:format)          tests#destroy
    root                 / 
tests#index


So i can create a action save which saves to the session, then the 
preview just retrieves the session values and links to edit, continue 
then the last one gives a page to submit the session values to the db 
with tests#create.

Does this sound ok? Also the above routes are not in the routes.rb so 
where are these stored?


Thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to