rails/rails — pull request #5818 by aliix (2012-04-11 20:19:40+00:00)
Title: Test case demonstrating that changing a belong_to association ID does update the association

Test case demonstrating bug #5744. I think this is a major bug and should be prioritized as such.

I was unable to find the "right" way to fix this, so I am only submitting the test case.