diff options
author | Katie Oldaker <k.oldaker@modcloth.com> | 2012-12-07 16:31:27 -0500 |
---|---|---|
committer | Katie Oldaker <k.oldaker@modcloth.com> | 2012-12-07 16:32:06 -0500 |
commit | fc6336d1bed794681b09cc10c80182cd457fb414 (patch) | |
tree | ae2965e7b427dbf67417a9a8a21cba7eda5982fc /guides/source/active_record_validations.md | |
parent | 38db4e2ca9902a57ae45422cba9cccbfc3e912b6 (diff) | |
download | rails-fc6336d1bed794681b09cc10c80182cd457fb414.tar.gz rails-fc6336d1bed794681b09cc10c80182cd457fb414.tar.bz2 rails-fc6336d1bed794681b09cc10c80182cd457fb414.zip |
Punctuation, capitalization, grammar fixes in rails guides
Diffstat (limited to 'guides/source/active_record_validations.md')
-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 f8cc759d9c..6e20e74c34 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -779,7 +779,7 @@ class Account < ActiveRecord::Base end ``` -### Grouping conditional validations +### Grouping Conditional validations Sometimes it is useful to have multiple validations use one condition, it can be easily achieved using `with_options`. @@ -796,7 +796,7 @@ end All validations inside of `with_options` block will have automatically passed the condition `if: :is_admin?` -### Combining validation conditions +### Combining Validation Conditions On the other hand, when multiple conditions define whether or not a validation should happen, an `Array` can be used. Moreover, you can apply both `:if` and |