[Guides] Sentence break for clarity [ci-skip]
This commit is contained in:
parent
6e23c8242d
commit
b76269a692
@ -910,8 +910,8 @@ end
|
||||
The easiest way to add custom validators for validating individual attributes
|
||||
is with the convenient `ActiveModel::EachValidator`. In this case, the custom
|
||||
validator class must implement a `validate_each` method which takes three
|
||||
arguments: record, attribute and value which correspond to the instance, the
|
||||
attribute to be validated and the value of the attribute in the passed
|
||||
arguments: record, attribute, and value. These correspond to the instance, the
|
||||
attribute to be validated, and the value of the attribute in the passed
|
||||
instance.
|
||||
|
||||
```ruby
|
||||
|
Loading…
Reference in New Issue
Block a user