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 [ff7bde62c857ec94f45a5be3bc76468deb8b0b3a] by Jon Leighton

Revision ff7bde62c857ec94f45a5be3bc76468deb8b0b3a, committed by Jon Leighton · December 23rd, 2010 @ 11:19 PM

When a has_many association is not :uniq, appending the same record multiple times should append it to the @target multiple times [#5964 state:resolved]
https://github.com/rails/rails/commit/ff7bde62c857ec94f45a5be3bc764...

3 changed files

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