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.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Changeset [7d2173ec5c68e10807da96f4bc8bc6ab1e89c167] by George Montana Harkin

Revision 7d2173ec5c68e10807da96f4bc8bc6ab1e89c167, committed by George Montana Harkin · June 23rd, 2010 @ 04:31 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/7d2173ec5c68e10807da96f4bc8bc6...

2 changed files

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