diff options
author | George Montana Harkin <montana.harkin@gmail.com> | 2010-06-27 19:05:51 +0530 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-27 16:35:03 +0200 |
commit | 0c0b0aa0f223523331afdc157fb3992a121bf497 (patch) | |
tree | 11e31f3b65efaa6c7570b66e3516adb2cdf59a19 /activerecord/lib/active_record/callbacks.rb | |
parent | 91b52c795f62aa15505f2f098bc86d6f6db75105 (diff) | |
download | rails-0c0b0aa0f223523331afdc157fb3992a121bf497.tar.gz rails-0c0b0aa0f223523331afdc157fb3992a121bf497.tar.bz2 rails-0c0b0aa0f223523331afdc157fb3992a121bf497.zip |
Fixes #2415 by creating a new instance of the Model when saving attributes to that model and the associated attributes already exist. Tests included. [#2415 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions