Still routes

Can I do something like that?

resources :rusers do
resources :deliveries
resources :doc_details
end

Or it is best to do:

resources :rusers do
resources :deliveries
end

resources :rusers do
resources :doc_details
end

this works

resources :rusers do
resources :deliveries
resources :doc_details
end

but watch this to clear everything up

http://railscasts.com/episodes/203-routing-in-rails-3

http://railscasts.com/episodes/231-routing-walkthrough

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