Wow, I sure have wasted a lot of time trying to get my named routes to
work in Rails 1.2. Everything worked fine in 1.1. I'm ready to kill
whoever rewrote the routing and broke BC. My routes:
The first rule of free, technical support is that you're asking for
it, not entitled to it. Thus, you get further by asking nicely. You're
not asking very nicely, so you shouldn't be surprised if you're not
getting a lot of help.
:controller=>'items', :action=>'show', :category_id => /\d+/, :id =>
map.item 'item/type/:type/:id', :controller=>'items', :action=>'show',
You're declaring multiple named routes with the same name. These will
overwrite each other. There can only be one item_url method. Come up
with different names, like map.type_category_item, map.type_item, etc.
Attitude is an expensive luxury and you've already maxed out all your
good-will credit cards.