[Nitro] Bug in mongrel.rb?

James Britt james_b at neurogami.com
Wed Jun 14 12:50:45 EDT 2006


Jonas Pfenniger wrote:
> Hi James,
> 
> On 14/06/06, James Britt <james_b at neurogami.com> wrote:
> 
>>         context.in = StringIO.new(req.body.to_s || "")
> 
> 
> nil.to_s || "hi" #=> ""
> 
> I think the to_s is enough

Ah, indeed.  Good catch.




-- 
James Britt

"The greatest obstacle to discovery is not ignorance, but the illusion 
of knowledge."
  - D. Boorstin



More information about the Nitro-general mailing list