Skip to content
This repository was archived by the owner on Aug 16, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gems/reform/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The purest form of defining validations with this backend is by using a [validat

Custom predicates have to be defined in the validation group. If you need access to your form you must add `option :form` to your configure block.

validation :default do
validation(name: :default, with: { form: true } ) do
configure do
option :form

Expand All @@ -123,7 +123,7 @@ Custom predicates have to be defined in the validation group. If you need access

In addition to dry-validation's API, you have access to the form that contains the group via `form`.

validation :default do
validation(name: :default, with: { form: true } ) do
configure do
option :form

Expand Down