Documentation in Rails seems notoriously bad – the documentation appears to be painfully incomplete. Anyway, all the cool kiddies will tell you how to do resource routing; but I wanted a bit more. In particular, i wanted to have URLs that work like http://xxx/things/
After a little trial and error, I found that this will be possible using a route like this:
map.resources :cars do |cars| cars.connect ':colour', :controller => 'cars', :action => 'car_with_colour' end
Which defines this in a much nicer fashion than matching the route “manually”.