Skip to content

Commit

Permalink
[ci skip] fix doc typo for validates_uniqueness_of
Browse files Browse the repository at this point in the history
  • Loading branch information
shizm committed Jul 29, 2014
1 parent 94abb92 commit 7413eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/validations/uniqueness.rb
Expand Up @@ -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.
Expand Down

0 comments on commit 7413eee

Please sign in to comment.