aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-12-22 20:57:41 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-23 15:19:18 -0800
commit2d9626fc74c2d57f90c856c37e5967bbe6651bd8 (patch)
tree067d9d8015680e1df6308aeff4fe9bf3e8fb33e0 /activerecord/test/fixtures
parent3f17ed407c5d61bc01fd59776205486c2350f36e (diff)
downloadrails-2d9626fc74c2d57f90c856c37e5967bbe6651bd8.tar.gz
rails-2d9626fc74c2d57f90c856c37e5967bbe6651bd8.tar.bz2
rails-2d9626fc74c2d57f90c856c37e5967bbe6651bd8.zip
Improved strategy for updating a belongs_to association when the foreign key changes. Rather than resetting each affected association when the foreign key changes, we should lazily check for 'staleness' (where fk does not match target id) when the association is accessed.
Diffstat (limited to 'activerecord/test/fixtures')
0 files changed, 0 insertions, 0 deletions