diff options
author | Angelo Capilleri <capilleri@yahoo.com> | 2015-05-03 09:11:06 +0200 |
---|---|---|
committer | Angelo Capilleri <capilleri@yahoo.com> | 2015-05-03 09:11:06 +0200 |
commit | 5c3be16ed285b66e09b648fff4d5bef754a0895c (patch) | |
tree | 3db0d82ce00ebbc9cbbc160497107d4d0c828ebe /guides | |
parent | 2e7fd4a8661960434ccaad71c8afb4ef26281d21 (diff) | |
download | rails-5c3be16ed285b66e09b648fff4d5bef754a0895c.tar.gz rails-5c3be16ed285b66e09b648fff4d5bef754a0895c.tar.bz2 rails-5c3be16ed285b66e09b648fff4d5bef754a0895c.zip |
[ci skip] Uniquiness with scope can have one or more arguments
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index d251c5c0b1..343b761e93 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -617,7 +617,7 @@ end The validation happens by performing an SQL query into the model's table, searching for an existing record with the same value in that attribute. -There is a `:scope` option that you can use to specify other attributes that +There is a `:scope` option that you can use to specify one or more attributes that are used to limit the uniqueness check: ```ruby |