Skip to content

Commit 7413eee

Browse files
committed
[ci skip] fix doc typo for validates_uniqueness_of
1 parent 94abb92 commit 7413eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/validations/uniqueness.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ module ClassMethods
152152
# or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The method,
153153
# proc or string should return or evaluate to a +true+ or +false+ value.
154154
# * <tt>:unless</tt> - Specifies a method, proc or string to call to
155-
# determine if the validation should ot occur (e.g. <tt>unless: :skip_validation</tt>,
155+
# determine if the validation should not occur (e.g. <tt>unless: :skip_validation</tt>,
156156
# or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
157157
# method, proc or string should return or evaluate to a +true+ or +false+
158158
# value.

0 commit comments

Comments
 (0)