Hi Wai,
I use this exact route in my app for user homepages:
map.connect ':id', :controller => 'user', :action => 'user_home'
this will make http://foo.com/joe map to that controller and action
and pass the username joe to it
There might be a better way even as I believe I'm perverting the use
of :id in this case
-Michael http://javathehutt.blogspot.com