rails/rails — pull request #9190 by ollym (2013-02-05 13:56:56+00:00)
Title: Set the inverse association before assigning attributes

Fixes #9157