This project is archived and is in readonly mode.
Changeset [1e2981fa6bd67089e4cae35d40fd1044f29cb6a6] 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...
Committed by Neeraj Singh
- M activerecord/lib/active_record/nested_attributes.rb
- M activerecord/test/cases/nested_attributes_test.rb
- M activerecord/test/models/pet.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>