We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94abb92 commit 7413eeeCopy full SHA for 7413eee
activerecord/lib/active_record/validations/uniqueness.rb
@@ -152,7 +152,7 @@ module ClassMethods
152
# or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The method,
153
# proc or string should return or evaluate to a +true+ or +false+ value.
154
# * <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>,
+ # determine if the validation should not occur (e.g. <tt>unless: :skip_validation</tt>,
156
# or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
157
# method, proc or string should return or evaluate to a +true+ or +false+
158
# value.
0 commit comments