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

Include soft validations on relationships #3

Description

@davidray

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions