snusnu/dm-accepts_nested_attributes

parent after_create callback still run when child fails validation

trungpham opened this issue · 1 comments

if the child validation fails, then parent after save and after create callback should never execute.

I started refactoring the specs a bit mainly to become familiar with all this stuff again. I will try to work through these issues in the next days, but I'd greatly appreciate any help from your side! :) That doesn't necessarily mean that you'd need to send patches to correct the behavior, but failing specs would certainly be appreciated! (of course, patches that fix the errorneous behavior too :)