diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-27 08:24:33 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-27 08:26:54 -0200 |
commit | 26fb57b58dad6555222bb7270f20d9fb1ccb7534 (patch) | |
tree | 7cbee7b04d533366c071dad5a19aa5b8aea1bfa6 /activemodel/lib | |
parent | 801baeed69fb5b28d9a05b657addb8f4204794ed (diff) | |
download | rails-26fb57b58dad6555222bb7270f20d9fb1ccb7534.tar.gz rails-26fb57b58dad6555222bb7270f20d9fb1ccb7534.tar.bz2 rails-26fb57b58dad6555222bb7270f20d9fb1ccb7534.zip |
Fix doc markup of clear_validators!
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/validations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 8e76edf945..e9674d5143 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -201,12 +201,12 @@ module ActiveModel # # #<StrictValidator:0x007fbff3204a30 @options={strict:true}> # # ] # - # If one runs Person.clear_validators! and then checks to see what + # If one runs <tt>Person.clear_validators!</tt> and then checks to see what # validators this class has, you would obtain: # # Person.validators # => [] # - # Also, the callback set by +validate :cannot_be_robot+ will be erased + # Also, the callback set by <tt>validate :cannot_be_robot</tt> will be erased # so that: # # Person._validate_callbacks.empty? # => true |