1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove dead commented out code [#1467 state:resolved]

Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
This commit is contained in:
Yaroslav Markin 2008-12-21 11:35:50 +00:00 committed by Pratik Naik
parent 3b317b7100
commit 276ea48de9

View file

@ -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