This should fix the 7 tests failing on master for ActiveRecord #1421

wants to merge 1 commit into


None yet
2 participants

farleyknight commented May 31, 2011

This should fix the 7 tests failing on master for ActiveRecord


The part object was divorced from the association, so the instance variable for mark_for_destruction could never be reached.

test_should_not_overwrite_unsaved_updates_when_loading_association and #test_should_not_remove_scheduled_destroys_when_loading_association

As far as I can tell, nested attributes are not enough to force a load of an association.


Avoid accessing the association directly in setup, in light of the two test cases below it. Both of those cases had been loading the association directly, by mistake.


arunagw commented May 31, 2011

These tests are passing with ruby-1.9.2-p180

Can you see this #1417


farleyknight commented May 31, 2011

Yep, that works for me.

jake3030 pushed a commit to jake3030/rails that referenced this pull request Jun 28, 2011

Fixed RFC-2045 quoted-printable bug [#1421 state:committed] says:

          may be
          represented by an "=" followed by a two digit
          hexadecimal representation of the octet's value.  The
          digits of the hexadecimal alphabet, for this purpose,
          are "0123456789ABCDEF".  Uppercase letters must be
          used; lowercase letters are not allowed.

ActionMailer, however, used "=%02x" specification.

Signed-off-by: David Heinemeier Hansson <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment