This project is archived and is in readonly mode.

Changeset [f664c57fe854c230d25c448b941569b81860fa79] by James Le Cuirot

June 19th, 2010 @ 11:32 PM

Don't overwrite unsaved updates when loading an association but preserve the order of the loaded records. Reapplied from before but now allows already-saved records to be refreshed.

[#4830 state:resolved]

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

Committed by James Le Cuirot

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>