aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2014-07-11 15:21:31 +0200
committerXavier Noria <fxn@hashref.com>2014-07-11 15:21:31 +0200
commitfe6715ea0d6c4ecc6e9f02062889cf2ad998b2b4 (patch)
tree174b103874ff7a7924bed1d4085a199b75fa6312 /guides/source
parent6e23c8242d9364e295ace14b3b01ae33fe31989b (diff)
parentb76269a692d744d8d4d9206da1b837676eb603d8 (diff)
downloadrails-fe6715ea0d6c4ecc6e9f02062889cf2ad998b2b4.tar.gz
rails-fe6715ea0d6c4ecc6e9f02062889cf2ad998b2b4.tar.bz2
rails-fe6715ea0d6c4ecc6e9f02062889cf2ad998b2b4.zip
Merge pull request #16135 from mgoldWork/validator-guide-sentence-break
[Guides] Sentence break for clarity [ci-skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_record_validations.md4
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