Nested model validation #439

safm opened this Issue Feb 5, 2014 · 1 comment


None yet

2 participants

safm commented Feb 5, 2014

Even when nested model's validation fails primary model's attributes are getting updated.

@bpatram bpatram added the bug label Mar 22, 2016
bpatram commented Mar 27, 2016

I understand this issue was opened 2 years ago but, based on your test case, your validation rules never caused any validation checks to fail.
I have updated your test case here since the one you link to is broken:
When I write a validation rule that would cause it to fail the test still passes and the attribute is not set:

@bpatram bpatram closed this Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment