diff options
author | Satoru Yamasaki <satoru.yamasaki5@gmail.com> | 2014-07-29 20:07:17 +0900 |
---|---|---|
committer | Satoru Yamasaki <satoru.yamasaki5@gmail.com> | 2014-07-29 20:07:17 +0900 |
commit | 7413eeee36e6f3be9ab8c1a08477314be671df84 (patch) | |
tree | 345a31a88056d4fd86effcf054ff243b020a163f /activerecord | |
parent | 94abb92c8d95ed69254876397226a56a6f041c70 (diff) | |
download | rails-7413eeee36e6f3be9ab8c1a08477314be671df84.tar.gz rails-7413eeee36e6f3be9ab8c1a08477314be671df84.tar.bz2 rails-7413eeee36e6f3be9ab8c1a08477314be671df84.zip |
[ci skip] fix doc typo for validates_uniqueness_of
Diffstat (limited to 'activerecord')
-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. |