This project is archived and is in readonly mode.

Changeset [84465a2cc1213fef5de944e63bca248fb1d0f5ef] 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...

Committed by Michael Koziarski

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations_test.rb
  • M activerecord/test/cases/nested_attributes_test.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>