Karl Weasel wrote:
> 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

Ah, then thin doesn't like numbers as header values.

content[0].length.to_s would be another solution.
-- 
Posted via http://www.ruby-forum.com/.