well, answering my own doubt, once one decide to comment:

# map.resources users

and then use named paths ... you will have to differentiate the names 
like:

map.user_show   ...
map.user_update ...
map.user_delete ...

why? because paths like that and also with simple paths, rails will be 
reading and executing the routes.rb file with TOP_FIRST priority and 
that's the rule!

in other words, the rake routes output, eg:

user GET    /users/:id              {:action=>"show", 
:controller=>"users"}
     PUT    /users/:id              {:action=>"update", 
:controller=>"users"}
     DELETE /users/:id              {:action=>"destroy", 
:controller=>"users"}

that output does NOT imply you can use same name paths and differentiate 
then with different :methods!
-- 
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