variable in url

Hi all,

I want to build a url like this: . Can RoR read out the
name in the url? If not I supose it's uo to the webserver. Can webrick
or Mongrel use this and pass this to RoR. I need the name in the url
since it will define what will be shown on the page.


I dont know exactly how it would be done, but i am sure that it can be
done. Take the thing 37signals got going.

37signals use this in all their products but i want to know how they
do it.

Someone has an idea?


Thanks alot!

Xin Zheng wrote:

_why's done it again.

How you integrate it with url_for? So :controller => 'account',
:action => 'home_page', :id => user.login goes in, and a virtual host
URL comes out?