1
0
Fork 0
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:
Max Goldstein 2014-07-11 09:07:34 -04:00
parent 6e23c8242d
commit b76269a692

View file

@ -910,8 +910,8 @@ end
The easiest way to add custom validators for validating individual attributes The easiest way to add custom validators for validating individual attributes
is with the convenient `ActiveModel::EachValidator`. In this case, the custom is with the convenient `ActiveModel::EachValidator`. In this case, the custom
validator class must implement a `validate_each` method which takes three validator class must implement a `validate_each` method which takes three
arguments: record, attribute and value which correspond to the instance, the arguments: record, attribute, and value. These correspond to the instance, the
attribute to be validated and the value of the attribute in the passed attribute to be validated, and the value of the attribute in the passed
instance. instance.
```ruby ```ruby