[MacRuby-devel] `bytesize' does not work on NSStrings
Nick Ludlam
nick at recoil.org
Fri Aug 27 08:37:35 PDT 2010
On 27 Aug 2010, at 15:37, Alexander v. Below wrote:
> Bonus Question: This is in a Control Tower context, but "env" is always nil. I want to access the requests parameters (i.e. foo?bar=5). That was easy in Webrick, but I can not figure out how to do it in Control Tower
Your env should most certainly not be empty. In there, you would normally find key/value pairs like:
"REQUEST_METHOD"=>"GET"
"REQUEST_URI"=>"/foo/bar?id=baz"
"QUERY_STRING"=>"id=baz"
Can you show us how you're creating your rack app for CT to run? And let us know what version of MacRuby and CT are you running, too.
Nick
More information about the MacRuby-devel
mailing list