N
ngw
Hi *, my question is really simple: is there a way in Ruby stdlib or in
external modules to build querystrings without creating the string from
scratch ?
For example something like:
name = "Foo Bar"
p URI::join(base_uri, query_string(name))
-> "http://foobar.org/?name=Foo+Bar"
Obviously this code is totally invented.
If not (haven't found anything in the documentation) how does people
accomplish this task ?
TIA,
ngw
external modules to build querystrings without creating the string from
scratch ?
For example something like:
name = "Foo Bar"
p URI::join(base_uri, query_string(name))
-> "http://foobar.org/?name=Foo+Bar"
Obviously this code is totally invented.
If not (haven't found anything in the documentation) how does people
accomplish this task ?
TIA,
ngw