diff options
author | Xavier Noria <fxn@hashref.com> | 2014-01-26 20:47:56 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-01-26 20:50:18 +0100 |
commit | 0df1f914104073b70f8d8976d0d5adc3b2a1e44e (patch) | |
tree | 1f76aaaeca5625b92cabb0f0788125115aaf5ec6 /activemodel/lib/active_model/validations.rb | |
parent | 61554efd02949c1de6e8a7be1c0e58a92a45bcb2 (diff) | |
download | rails-0df1f914104073b70f8d8976d0d5adc3b2a1e44e.tar.gz rails-0df1f914104073b70f8d8976d0d5adc3b2a1e44e.tar.bz2 rails-0df1f914104073b70f8d8976d0d5adc3b2a1e44e.zip |
revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang & Xavier Noria]
Closes #11247.
Diffstat (limited to 'activemodel/lib/active_model/validations.rb')
-rw-r--r-- | activemodel/lib/active_model/validations.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 6be44b5d63..08928a713d 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -126,8 +126,6 @@ module ActiveModel # Options: # * <tt>:on</tt> - Specifies the context where this validation is active # (e.g. <tt>on: :create</tt> or <tt>on: :custom_validation_context</tt>) - # * <tt>:allow_nil</tt> - Skip validation if attribute is +nil+. - # * <tt>:allow_blank</tt> - Skip validation if attribute is blank. # * <tt>:if</tt> - Specifies a method, proc or string to call to determine # if the validation should occur (e.g. <tt>if: :allow_validation</tt>, # or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The method, |