From: Kent Sibilev Date: 2005-05-24T13:08:57+09:00 Subject: Re: Array.=== in Rails Bug The target of AssociationProxy is not always an instance of Array. For example, for BelongsToAssociation it's a ActiveRecord::Base instance. Kent. On 5/23/05, Markus wrote: > On Mon, 2005-05-23 at 15:34, Jamis Buck wrote: > > You can add a ticket to dev.rubyonrails.com. That way it won't get > > lost in a shuffle of email. > > Did that, but in the meantime I found a better solution (and included it > in the ticket): > > Change AssociationProxy to "class AssociationProxy < Array" and > let the C code do its thing. No muss, no fuss... > > --MarkusQ > > >