From: gwtmp01@... Date: 2005-12-05T07:15:27+09:00 Subject: Re: Deleting object inn array, if... On Dec 4, 2005, at 5:06 PM, Henrik Orm�sen wrote: > I have an array witch contains the id of living objects. Do you mean that you are actually storing the object_id of a Ruby object? Something like: class Article attr_accessor :body end a = Article.new b = Article.new c = Article.new database = [a.object_id, b.object_id, c.object_id] or is your database something like: database = [a, b, c] or are you talking about primary keys from a relational database? Could you clarify?