diff options
author | Max Goldstein <mgoldstein@lgscout.com> | 2014-07-11 09:07:34 -0400 |
---|---|---|
committer | Max Goldstein <mgoldstein@lgscout.com> | 2014-07-11 09:07:34 -0400 |
commit | b76269a692d744d8d4d9206da1b837676eb603d8 (patch) | |
tree | 174b103874ff7a7924bed1d4085a199b75fa6312 /guides | |
parent | 6e23c8242d9364e295ace14b3b01ae33fe31989b (diff) | |
download | rails-b76269a692d744d8d4d9206da1b837676eb603d8.tar.gz rails-b76269a692d744d8d4d9206da1b837676eb603d8.tar.bz2 rails-b76269a692d744d8d4d9206da1b837676eb603d8.zip |
[Guides] Sentence break for clarity [ci-skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 7ec4ab312d..582bb240dd 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -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 |