rails/rails — pull request #5044 by dracco (2012-02-15 06:00:35+00:00)
Title: 3 0 stable

related to #2525 belongs_to + :inverse_of + accepts_nested_attributes_for causes stack overflow on save

I run into the same issue. There is a cyclic autosave for belongs_to/has_one when using accepts_nested_attributes. It causes stack overflow.