Skip to content

Commit

Permalink
Remove dead commented out code [#1467 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
  • Loading branch information
yaroslav authored and lifo committed Dec 21, 2008
1 parent 3b317b7 commit 276ea48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion activerecord/lib/active_record/validations.rb
Expand Up @@ -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
Expand Down

0 comments on commit 276ea48

Please sign in to comment.