From 4bbd05c90e5a62c0316307b3ca7c2262ed98b567 Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Thu, 17 May 2012 10:54:29 -0500 Subject: fix validations docs --- activemodel/lib/active_model/validations/acceptance.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activemodel/lib/active_model/validations/acceptance.rb') diff --git a/activemodel/lib/active_model/validations/acceptance.rb b/activemodel/lib/active_model/validations/acceptance.rb index e628c6f306..38a32c479c 100644 --- a/activemodel/lib/active_model/validations/acceptance.rb +++ b/activemodel/lib/active_model/validations/acceptance.rb @@ -1,5 +1,4 @@ module ActiveModel - # == Active Model Acceptance Validator module Validations class AcceptanceValidator < EachValidator @@ -59,7 +58,7 @@ module ActiveModel # The method, proc or string should return or evaluate to a true or # false value. # * :strict - Specifies whether validation should be strict. - # See ActiveModel::Validation#validates! for more information + # See ActiveModel::Validation#validates! for more information. def validates_acceptance_of(*attr_names) validates_with AcceptanceValidator, _merge_attributes(attr_names) end -- cgit v1.2.3