>>
>> Tests::Application.routes.draw do
>>
>>   resources :tests
>
> Precisely.  Look at the Rails Guide to see what that means.
>

Right ok i have got the new action defined with:

resources :tests do
    post 'save', :on => :collection
end

which defines as /tests/save => tests#save

then i rake routes and its show up in the routes now :), but the only 
problem i couldn't see information unless i'm bind about how to set the 
form to now submit with the new /tests/save action and not tests#create.

Many 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