better looking routes

Hello, I am trying to replace default restful routes for a few of my models to something that looks a bit better.

resources :countries gives /countries/:id

should be replaced with /countires/:country_name

Any ideas on how this could be done?

thanks.

Perfect job for permalinks

firendly_id should do the trick for you - https://github.com/norman/friendly_id

Chirag http://sumeruonrails.com

Great. Just what I was looking for. Thanks.