[Nitro] Bug in mongrel.rb?

George Moschovitis george.moschovitis at gmail.com
Thu Jun 15 11:34:19 EDT 2006


Thanks for this ;-)

-g.

On 6/14/06, James Britt <james_b at neurogami.com> wrote:
> 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
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>


-- 
http://www.gmosx.com
http://www.nitroproject.org



More information about the Nitro-general mailing list