aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-03-28 11:34:09 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-28 11:34:09 -0700
commitd1f3437cac77673bf00fd95c5a0b7c1676d70603 (patch)
tree6a05bbbf61d90488193533adbe73a22dcce15957 /activemodel/lib
parent66d57d7ba83df52ff1e0485c89f6192c2f84c6b8 (diff)
downloadrails-d1f3437cac77673bf00fd95c5a0b7c1676d70603.tar.gz
rails-d1f3437cac77673bf00fd95c5a0b7c1676d70603.tar.bz2
rails-d1f3437cac77673bf00fd95c5a0b7c1676d70603.zip
Cosmetics: mismatch indentation
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/validations/inclusion.rb2
1 files changed, 1 insertions, 1 deletions
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)