mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[Guides] Sentence break for clarity [ci-skip]
This commit is contained in:
parent
6e23c8242d
commit
b76269a692
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue