Re: Routing: How do I use what is left from an URL

Sascha Ebach
Sat, 19 Feb 2005 14:35:10 -0000

Alexey Verkhovsky wrote:
> articles/ruby%2Frails%2FWTSCMSTCPBUWROR
>
> Not nice, I know.

No, that defeats the purpose of nice urls.

> There is some commit in the trunk that enables Routes to deal with
> regexps. I haven''t looked at it closely yet. It may cope with this
> problem, I don''t know.

I have also seen the commit, but I don''t think it is usable yet. At the
moment routes seem to say "You can do anything you want to, as long as
you don''t mess with the slashes..."

 > Ulysses: see? Another unsatisfied customer who wants
'':foo/:bar...''
 > mapping :)

Yeah, it would be very nice if the aforementioned were possible.

Sascha