From: Blake Miller Date: 2006-12-02T04:36:08+09:00 Subject: Re: Simple iteration in a function problem > > # pick one by id > pick = ids[3] > p pick > p holder[pick] > > # >> #, #, # 0x1e284c>, > # >> #, #, # 0x1e27d4>, > # >> #, #, # 0x1e275c>, > # >> #]> > # >> 988178 > # >> # > > __END__ > > Hope that helps. > > James Edward Gray II Note: The ids are strings. The @ys.find { |y| y.object_id == id } still isn't working for me, i also tried y.object_id.equals(id) but I can't seem to find the darn match : / -- Posted via http://www.ruby-forum.com/.