This project is archived and is in readonly mode.
Changeset [84465a2cc1213fef5de944e63bca248fb1d0f5ef] by Michael Koziarski
Revision 84465a2cc1213fef5de944e63bca248fb1d0f5ef,
committed by Michael Koziarski
· December 7th, 2010 @ 08:48 PM
Revert "In nested_attributes when association is not loaded and association record is saved then in memory record attributes should be saved"
This reverts commit 12bbc34aca509aba5032e8cc8859ef0c0c845cca.
It caused errors when combined with attr_accessible, piggy back
attributes fetched by :select, etc. Leaving it in 3.0, but removing
from 2.3
https://github.com/rails/rails/commit/84465a2cc1213fef5de944e63bca2...
3 changed files
-
M
activerecord/lib/active_record/associations/association_collection.rb -
M
activerecord/test/cases/associations_test.rb -
M
activerecord/test/cases/nested_attributes_test.rb