From: kazaam@...
Date: 2009-01-08T00:14:54+09:00
Subject: Re: Strange behavior with a little racks app in thin
Thank you very much Brian that was the misstake:
$ telnet 127.0.0.1 3000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: content[0].length
Connection: close
Server: thin 1.0.0 codename That's What She Said
hi
hoConnection closed by foreign host.
Correct syntax is "#{content[0].length}" . Without quotes thin is
giving errors when trying to access the page: !! Unexpected error while
processing request: undefined method `each' for 15:Fixnum
kind regards