> The routes:
>
> map.resources :orders
> map.resources :orders, :collection => { :pending_orders => :get }If you have both of these routes defined in routes.rb, it will still fail because routes are processed in order (top-to-bottom) as the appear in the file, so the routing logic would still match the first route and produce the error; it would never attempt to match your second route. You could switch the order of those two lines, but the second route will still match all of the other actions in your orders controller, the only difference is that it will now also match the pending_orders action. Point being, you should get rid of the "map.resources :orders" route altogether. Best, Steve -- 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.

