From 276ea48de96a0c4242139ec9323eefb6f254c2a1 Mon Sep 17 00:00:00 2001 From: Yaroslav Markin Date: Sun, 21 Dec 2008 11:35:50 +0000 Subject: Remove dead commented out code [#1467 state:resolved] Signed-off-by: Frederick Cheung --- activerecord/lib/active_record/validations.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 617b3f440f..6a9690ba85 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -203,7 +203,6 @@ module ActiveRecord if attr == "base" full_messages << message else - #key = :"activerecord.att.#{@base.class.name.underscore.to_sym}.#{attr}" attr_name = @base.class.human_attribute_name(attr) full_messages << attr_name + I18n.t('activerecord.errors.format.separator', :default => ' ') + message end -- cgit v1.2.3