Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [0c0b0aa0f223523331afdc157fb3992a121bf497] by George Montana Harkin

Revision 0c0b0aa0f223523331afdc157fb3992a121bf497, committed by George Montana Harkin · June 27th, 2010 @ 03:35 PM

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
http://github.com/rails/rails/commit/0c0b0aa0f223523331afdc157fb399...

2 changed files

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/nested_attributes_test.rb