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:
parent
3b317b7100
commit
276ea48de9
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue