diff options
Diffstat (limited to 'activemodel/lib/active_model/validations/presence.rb')
-rw-r--r-- | activemodel/lib/active_model/validations/presence.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations/presence.rb b/activemodel/lib/active_model/validations/presence.rb index f159e40858..70247ee4c8 100644 --- a/activemodel/lib/active_model/validations/presence.rb +++ b/activemodel/lib/active_model/validations/presence.rb @@ -1,9 +1,9 @@ module ActiveModel - # == Active Model Presence Validator + # == Active \Model Presence \Validator module Validations - class PresenceValidator < EachValidator #:nodoc: + class PresenceValidator < EachValidator # :nodoc: def validate(record) record.errors.add_on_blank(attributes, options) end |