From: Martin DeMello Date: 2008-08-05T23:11:19+09:00 Subject: Re: hash code reference - this only returns 'nil' please help me On Tue, Aug 5, 2008 at 6:59 AM, Mmcolli00 Mom wrote: > Thanks everyone! > > I thought about this being an array and I did this: > > StrgErrFieldID = ErrFieldID.to_s this would be better: StrgErrFieldID = ErrFieldID[0] Since it explicitly says (i) that you're expecting an array and (ii) that you're extracting its first element martin