From d57356bd5ad0d64ed3fb530d722f32107ea60cdf Mon Sep 17 00:00:00 2001 From: Sen Zhang Date: Wed, 15 Feb 2017 14:29:04 -0800 Subject: change ActiveModel::Validation to ActiveModel::Validations in comments --- activemodel/lib/active_model/validations/exclusion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/validations/exclusion.rb') diff --git a/activemodel/lib/active_model/validations/exclusion.rb b/activemodel/lib/active_model/validations/exclusion.rb index 82a1893823..b7156ba802 100644 --- a/activemodel/lib/active_model/validations/exclusion.rb +++ b/activemodel/lib/active_model/validations/exclusion.rb @@ -38,7 +38,7 @@ module ActiveModel # # There is also a list of default options supported by every validator: # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+. - # See ActiveModel::Validation#validates for more information + # See ActiveModel::Validations#validates for more information def validates_exclusion_of(*attr_names) validates_with ExclusionValidator, _merge_attributes(attr_names) end -- cgit v1.2.3