On 18 July 2011 09:29, Colin Law <[email protected]> wrote:
> On 18 July 2011 09:01, Jim Ruther Nill <[email protected]> wrote:
>>
>>
>> On Mon, Jul 18, 2011 at 3:48 PM, sreid <[email protected]> wrote:
>>>
>>> Is there some way to get a list of the existing instances which refer
>>> to the record ?
>>>
>>
>> I think there's none.
>>
>>>
>>> Would upgrading to 3.1 and enabling identity map solve the problem ?
>
> I don't think entity map addresses your problem, though I may be wrong.

On second thoughts I think it may solve the problem.  I gather thought
that it is turned off by default as it is not entirely reliable yet.
See
http://edgerails.info/articles/what-s-new-in-edge-rails/2011/04/21/activerecord-identity-map/index.html
though I don't know whether this is entirely reliable.

Colin

>
> You said you are unintentionally getting multiple in memory instances
> of the same db record.  How is that happening?
>
> Colin
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to