diff options
author | Dr.(USA) Joerg Schray <joerg.schray@tandem-softworks.de> | 2012-03-16 12:26:24 +0100 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2013-08-12 02:37:39 -0700 |
commit | 018697dece967f3f2861a085e747ba14f06c507c (patch) | |
tree | 0255f2b86bc10e6295ab5368cdcb9a45c4b2a587 /activerecord/test/cases/hot_compatibility_test.rb | |
parent | 0f834868bfd0d98c6d144543bc49c86df53e9a91 (diff) | |
download | rails-018697dece967f3f2861a085e747ba14f06c507c.tar.gz rails-018697dece967f3f2861a085e747ba14f06c507c.tar.bz2 rails-018697dece967f3f2861a085e747ba14f06c507c.zip |
Fix interactions between :before_add callbacks and nested attributes assignment
Issue #1: :before_add callback is called when nested attributes assignment assigns to existing record if the association is not yet loaded
Issue #2: Nested Attributes assignment does not affect the record in the association target when callback triggers loading of the association
Diffstat (limited to 'activerecord/test/cases/hot_compatibility_test.rb')
0 files changed, 0 insertions, 0 deletions