From d1f3437cac77673bf00fd95c5a0b7c1676d70603 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 28 Mar 2010 11:34:09 -0700 Subject: [PATCH] Cosmetics: mismatch indentation --- activemodel/lib/active_model/validations/inclusion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/validations/inclusion.rb b/activemodel/lib/active_model/validations/inclusion.rb index 0c1334fe1b..c1838bb93e 100644 --- a/activemodel/lib/active_model/validations/inclusion.rb +++ b/activemodel/lib/active_model/validations/inclusion.rb @@ -4,7 +4,7 @@ module ActiveModel def check_validity! raise ArgumentError, "An object with the method include? is required must be supplied as the " << ":in option of the configuration hash" unless options[:in].respond_to?(:include?) - end + end def validate_each(record, attribute, value) return if options[:in].include?(value)