We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 801baee commit 26fb57bCopy full SHA for 26fb57b
activemodel/lib/active_model/validations.rb
@@ -201,12 +201,12 @@ def validators
201
# # #<StrictValidator:0x007fbff3204a30 @options={strict:true}>
202
# # ]
203
#
204
- # 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
205
# validators this class has, you would obtain:
206
207
# Person.validators # => []
208
209
- # 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
210
# so that:
211
212
# Person._validate_callbacks.empty? # => true
0 commit comments