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

Can I skip some related models? #37

Open
Nicolai6120 opened this issue Nov 4, 2014 · 1 comment
Open

Can I skip some related models? #37

Nicolai6120 opened this issue Nov 4, 2014 · 1 comment

Comments

@Nicolai6120
Copy link

If I want to save post with tags, I want to have ability skip saving of not unique tags. Can I do this with w-r-b?

@ThePepster
Copy link

Not in the current implementation because if the validation fails because the tag is not unique the save method will not save anything.

What you could do is run the validation first. Then remove any tags that did not pass validation and save.

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

No branches or pull requests

2 participants