Maybe @sgrif knows: under what circumstances in Active Record are you not guaranteed reference equality in associated objects?
Uh... You're calling `.new`. That would never have reference equality to any other object
-
-
That was actually a typo! Sorry. Replace new with .find in that example (facepalms)
-
You should never expect reference equality other than through associations
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.