Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The parent model still thinks it's saved when the child fails validation. #2

Open
trungpham opened this issue Nov 14, 2009 · 3 comments

Comments

@trungpham
Copy link

parent.saved? = true
parent.id = some id

when the rollback occurs, parent.saved? should be false.

@snusnu
Copy link
Owner

snusnu commented Dec 7, 2009

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 :)

@al
Copy link

al commented May 15, 2014

Are there any 5 year old insights on this? I can't track down the problem ...

@snusnu
Copy link
Owner

snusnu commented May 15, 2014

@al i'm afraid no. I haven't been active on dm-accepts_nested_attributes as you can (clearly) see in the logs. Generally tho, there is a lot of weird behavior when saving object graphs with dm-validations in the mix. IIRC, there are quite some somewhat related issues in dm-core and/or dm-validations.

That said, I'm sorry that I can be of no help here, but maybe researching any seemingly related issues in the above mentioned repos might help with debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants