This project is archived and is in readonly mode.
Changeset [f664c57fe854c230d25c448b941569b81860fa79] by James Le Cuirot
Revision f664c57fe854c230d25c448b941569b81860fa79,
committed 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...
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