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 [0057d2df71ec7c2a788acd3b4bade263fc0fe361] by Szetobo

Revision 0057d2df71ec7c2a788acd3b4bade263fc0fe361, committed by Szetobo · July 21st, 2010 @ 01:25 PM

association load target shouldn't replace records
from db if it is already loaded by nested attributes assignment

[#5053 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/0057d2df71ec7c2a788acd3b4bade2...

2 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/nested_attributes_test.rb