This project is archived and is in readonly mode.
Changeset [1e2981fa6bd67089e4cae35d40fd1044f29cb6a6] by Neeraj Singh
Revision 1e2981fa6bd67089e4cae35d40fd1044f29cb6a6,
committed by Neeraj Singh
· November 24th, 2010 @ 09:09 PM
If a nested_attribute is being marked for destruction and at the same time an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue.
[#5939 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/1e2981fa6bd67089e4cae35d40fd1...
3 changed files
-
M
activerecord/lib/active_record/nested_attributes.rb -
M
activerecord/test/cases/nested_attributes_test.rb -
M
activerecord/test/models/pet.rb