Permalink
Browse files

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

Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
  • Loading branch information...
1 parent 3b317b7 commit 276ea48de96a0c4242139ec9323eefb6f254c2a1 @yaroslav yaroslav committed with lifo Dec 21, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/validations.rb
@@ -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

0 comments on commit 276ea48

Please sign in to comment.