From 7cc145ec65167084e8b05d9462eaf94534fa0168 Mon Sep 17 00:00:00 2001 From: claudiob Date: Fri, 2 Jan 2015 14:19:21 -0800 Subject: Use Active Model, not ActiveModel in plain English Also prevents the word "Model" from linking to the documentation of ActiveModel::Model because that's not intended. [ci skip] --- activemodel/lib/active_model/validations/absence.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/validations') diff --git a/activemodel/lib/active_model/validations/absence.rb b/activemodel/lib/active_model/validations/absence.rb index 9b5416fb1d..75bf655578 100644 --- a/activemodel/lib/active_model/validations/absence.rb +++ b/activemodel/lib/active_model/validations/absence.rb @@ -1,6 +1,6 @@ module ActiveModel module Validations - # == Active Model Absence Validator + # == \Active \Model Absence Validator class AbsenceValidator < EachValidator #:nodoc: def validate_each(record, attr_name, value) record.errors.add(attr_name, :present, options) if value.present? -- cgit v1.2.3