From 5c3be16ed285b66e09b648fff4d5bef754a0895c Mon Sep 17 00:00:00 2001 From: Angelo Capilleri Date: Sun, 3 May 2015 09:11:06 +0200 Subject: [ci skip] Uniquiness with scope can have one or more arguments --- guides/source/active_record_validations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -- cgit v1.2.3