Skip to content
Browse files

Fix doc markup of clear_validators!

  • Loading branch information...
1 parent 801baee commit 26fb57b58dad6555222bb7270f20d9fb1ccb7534 @carlosantoniodasilva carlosantoniodasilva committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/validations.rb
View
4 activemodel/lib/active_model/validations.rb
@@ -201,12 +201,12 @@ def validators
# # #<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

0 comments on commit 26fb57b

Please sign in to comment.
Something went wrong with that request. Please try again.