提交 276ea48d 编写于 作者: Y Yaroslav Markin 提交者: Pratik Naik

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

Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
上级 3b317b71
......@@ -203,7 +203,6 @@ def full_messages(options = {})
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册