Forum: Ruby on Rails variable in url

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
82a578052d304559f15180bdf56555d2?d=identicon&s=25 Tarscher (Guest)
on 2007-06-18 12:09
(Received via mailing list)
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.

7a069e1acb6f94c7c554c17a5e99f35a?d=identicon&s=25 Glimjaur (Guest)
on 2007-06-18 13:37
(Received via mailing list)
I dont know exactly how it would be done, but i am sure that it can be
done. Take the thing 37signals got going.
Ec854a864bcefae4d8068d0f4dcbc705?d=identicon&s=25 Tarscher (Guest)
on 2007-06-18 13:44
(Received via mailing list)
37signals use this in all their products but i want to know how they
do it.

Someone has an idea?

86ebe25f8e39ac37357fd2142f550b0f?d=identicon&s=25 Xin Zheng (wackimonki)
on 2007-06-18 14:31
7a069e1acb6f94c7c554c17a5e99f35a?d=identicon&s=25 Glimjaur (Guest)
on 2007-06-18 18:22
(Received via mailing list)
Thanks alot!

On Jun 18, 2:31 pm, Xin Zheng <>
Aafa8848c4b764f080b1b31a51eab73d?d=identicon&s=25 Phlip (Guest)
on 2007-06-18 18:35
(Received via mailing list)
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?

  Phlip  <-- NOT a blog!!
This topic is locked and can not be replied to.