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 [85cc1fa657f441417f36998a32a6a158c2697aad] by José Valim

Revision 85cc1fa657f441417f36998a32a6a158c2697aad, committed by José Valim · June 11th, 2010 @ 04:05 PM

Revert "Don't overwrite unsaved updates when loading an association but preserve the order of the loaded records. [#4642 state:open]"

This commit introduced a regression described in ticket [#4830].

This reverts commit 0265c708b9696c3943518ad5f3dabdc22c5eba11.
http://github.com/rails/rails/commit/85cc1fa657f441417f36998a32a6a1...

3 changed files

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