rails/rails — pull request #5775 by tom-kuca (2012-04-08 01:21:29+00:00)
Title: Test for circular reference while saving has_many relationship

Test for #5774 :inverse_of + accepts_nested_attributes_for causes stack overflow on save

There is a cyclic autosave for belongs_to/has_many when using accepts_nested_attributes for both models. It causes stack overflow.