Permalink
Browse files

Merge pull request #16332 from shizm/fix-docs-validates-uniqueness-of

[ci skip] fix doc typo for validates_uniqueness_of
  • Loading branch information...
2 parents 94abb92 + 7413eee commit c5fc7b55647028115fd532ba0ffacd44112de318 @robin850 robin850 committed Jul 29, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations/uniqueness.rb
@@ -152,7 +152,7 @@ module ClassMethods
# or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The method,
# proc or string should return or evaluate to a +true+ or +false+ value.
# * <tt>:unless</tt> - Specifies a method, proc or string to call to
- # determine if the validation should ot occur (e.g. <tt>unless: :skip_validation</tt>,
+ # determine if the validation should not occur (e.g. <tt>unless: :skip_validation</tt>,
# or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
# method, proc or string should return or evaluate to a +true+ or +false+
# value.

0 comments on commit c5fc7b5

Please sign in to comment.