diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-07-29 13:24:16 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-07-29 13:24:16 +0200 |
commit | c5fc7b55647028115fd532ba0ffacd44112de318 (patch) | |
tree | 345a31a88056d4fd86effcf054ff243b020a163f /activerecord/lib/active_record/validations/uniqueness.rb | |
parent | 94abb92c8d95ed69254876397226a56a6f041c70 (diff) | |
parent | 7413eeee36e6f3be9ab8c1a08477314be671df84 (diff) | |
download | rails-c5fc7b55647028115fd532ba0ffacd44112de318.tar.gz rails-c5fc7b55647028115fd532ba0ffacd44112de318.tar.bz2 rails-c5fc7b55647028115fd532ba0ffacd44112de318.zip |
Merge pull request #16332 from shizm/fix-docs-validates-uniqueness-of
[ci skip] fix doc typo for validates_uniqueness_of
Diffstat (limited to 'activerecord/lib/active_record/validations/uniqueness.rb')
-rw-r--r-- | activerecord/lib/active_record/validations/uniqueness.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb index 2a34969a8c..2dba4c7b94 100644 --- a/activerecord/lib/active_record/validations/uniqueness.rb +++ b/activerecord/lib/active_record/validations/uniqueness.rb @@ -152,7 +152,7 @@ module ActiveRecord # 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. |