From: reuben doetsch Date: 2008-08-05T06:43:19+09:00 Subject: Re: hash code reference - this only returns 'nil' please help me ------=_Part_41542_19015282.1217886284684 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Check the API of whatever gem you are using and check to see if get_xml_attrib_value returns a single value or an array. Reuben On Mon, Aug 4, 2008 at 4:25 PM, Michael Libby wrote: > On Mon, Aug 4, 2008 at 4:06 PM, Mmcolli00 Mom > wrote: > > Sebastian Hungerecker wrote: > >> Mmcolli00 Mom wrote: > >>> puts ErrFieldID #This correctly shows 25127 > >> > >> Try p ErrFieldID > > > No that didn't work. It only showed the reference key in brackets: > > ['25127']. I need it to show the value from the hash: 'RefProvNPI' > > It did work. It means that ErrFieldID is an array containing a single > string. Not the same as your hash key, which is just a string. > > -Michael > > ------=_Part_41542_19015282.1217886284684--