On 22 Jul 2008, at 10:52, Michael Koziarski wrote:

>
>> Ah yes. I had an inkling that might be what you were talking about.
>> That itself might introduce some subtle differences in behaviour
>
> It introduces huge differences in behaviour for some situations like:
>
> def whatever
>  @foo = Foo.find(1)
>  # Some other process updates foo 1
>  @foos = Foo.find(:all) # do you retain the old data for foo#1 or
> replace it with the new data, or raise an exception?
> end
>
> The first part of an identity map is easy, it's defining the behaviour
> in all the edge cases that makes it hard, :)

That's a bit of a bastard :-) It's not even that much of an edge case.

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to