[Nitro] Problem with controller arguments
Chris Farmiloe
chris.farmiloe at farmiloe.com
Wed Aug 17 13:09:50 EDT 2005
Hi:
New to this stuff myself (Hello everyone - I've just joined the
list), but I can't see
why you would want the entire remainder of the URL to get passed to
the last variable?
request.uri
^ contains the whole uri string, could be some help?
Oo while I'm here: Apache and WebBrick return different URIs ...
(apache will give a leading "/" )
would be good if this could be ironed out when request.uri gets built
to allow greater
portability between design/production.
Out of curiosity; Why do you want this rather than
def do_something(var_a, var_b, var_c) # ==> http://me.com/
do_something/a/b/c/
#stuff
end
??
... the only common string I can think of with /'s in, is a date..
On 17 Aug 2005, at 17:40, Miikka Koskinen wrote:
> Now, this works fine with urls like http://site/view/some/thing
> (foo="some",
> bar="thing"). But, I would like to have also urls like
> http://site/view/some/thing/nice, where foo = "some", bar = "thing/
> nice".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20050817/95cf883d/attachment.html
More information about the Nitro-general
mailing list