rails/rails — pull request #14030 by Nerdman4U (2014-02-12 17:58:36+00:00)
Title: Fixed a stack level too deep problem when validating a record.

Autosaved associations validates nested records and it there are
inverse associations it will result a recursion. Solution is to
mark valid records so that they can be skipped when inverse
associated records are validated.