Skip to content

Little fix for nested forms#2490

Merged
mshibuya merged 2 commits into
railsadminteam:masterfrom
SuperMasterBlasterLaser:nestedForms
Nov 27, 2015
Merged

Little fix for nested forms#2490
mshibuya merged 2 commits into
railsadminteam:masterfrom
SuperMasterBlasterLaser:nestedForms

Conversation

@SuperMasterBlasterLaser
Copy link
Copy Markdown
Contributor

According to this issue: #2443, removed nested child objects still go through validations.

This little fix makes browser ignore validaitons of removed nested child models.

Tested using Mongoid.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is useless

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean commented console.log line?

mshibuya added a commit that referenced this pull request Nov 27, 2015
@mshibuya mshibuya merged commit 02a5e58 into railsadminteam:master Nov 27, 2015
@mshibuya
Copy link
Copy Markdown
Member

Works fine, thank you!

@SuperMasterBlasterLaser
Copy link
Copy Markdown
Contributor Author

you are welcome

@SuperMasterBlasterLaser SuperMasterBlasterLaser deleted the nestedForms branch November 27, 2015 16:19
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.

2 participants