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

Add test case for autosave association with nested attributes. #13974

Merged
merged 1 commit into from Feb 8, 2014
Merged

Add test case for autosave association with nested attributes. #13974

merged 1 commit into from Feb 8, 2014

Conversation

laurocaetano
Copy link
Contributor

This test case covers the behavior described by #8194.

When saving the parent and its nested attributes are invalid, they should not be persisted, neither the parent.

It should not save the parent record when the nested attributes are
invalid.

Test case to cover #8194.
rafaelfranca added a commit that referenced this pull request Feb 8, 2014
…th_accepts_nested_attributes

Add test case for autosave association with nested attributes.
@rafaelfranca rafaelfranca merged commit 3c2fe5c into rails:master Feb 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants