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 -- Cheers, zimbatm http://zimbatm.oree.ch