This project is archived and is in readonly mode.
Changeset [66212f69acc3d51af10ff76a18ff4c0bfa305ea5] by Neeraj Singh
November 24th, 2010 @ 09:08 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/66212f69acc3d51af10ff76a18ff4...
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>