Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Include soft validations on relationships #3

Open
davidray opened this issue Apr 12, 2012 · 0 comments
Open

Include soft validations on relationships #3

davidray opened this issue Apr 12, 2012 · 0 comments

Comments

@davidray
Copy link
Contributor

For example:
For model user with has_many :patrols
soft_validates :patrols, :include_nested_errors => true

When you call user.soft_valid? and other methods it would include the errors on the models defined by the relationship.

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

No branches or pull requests

1 participant