Skip to content
Browse files

Fix incorrect validates_uniqueness_of doc claiming default case_insen…

…sitivity [#883 state:resolved]

Signed-off-by: Michael Koziarski <michael@koziarski.com>
  • Loading branch information...
1 parent fd284d2 commit 3f8c42b9900f9371065061b2c6c51308c06fb6e7 @tarmo tarmo committed with NZKoz
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations.rb
View
2 activerecord/lib/active_record/validations.rb
@@ -590,7 +590,7 @@ def validates_length_of(*attrs)
# Configuration options:
# * <tt>:message</tt> - Specifies a custom error message (default is: "has already been taken").
# * <tt>:scope</tt> - One or more columns by which to limit the scope of the uniqueness constraint.
- # * <tt>:case_sensitive</tt> - Looks for an exact match. Ignored by non-text columns (+false+ by default).
+ # * <tt>:case_sensitive</tt> - Looks for an exact match. Ignored by non-text columns (+true+ by default).
# * <tt>:allow_nil</tt> - If set to true, skips this validation if the attribute is +nil+ (default is +false+).
# * <tt>:allow_blank</tt> - If set to true, skips this validation if the attribute is blank (default is +false+).
# * <tt>:if</tt> - Specifies a method, proc or string to call to determine if the validation should

0 comments on commit 3f8c42b

Please sign in to comment.
Something went wrong with that request. Please try again.