aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYaroslav Markin <yaroslav@markin.net>2008-12-21 11:35:50 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-21 15:55:42 +0000
commit276ea48de96a0c4242139ec9323eefb6f254c2a1 (patch)
treeddeddc65622199c2664013dbde954c34f07bc4cf /activerecord
parent3b317b7100c9a416f4e3545f3844f0c0743acdb2 (diff)
downloadrails-276ea48de96a0c4242139ec9323eefb6f254c2a1.tar.gz
rails-276ea48de96a0c4242139ec9323eefb6f254c2a1.tar.bz2
rails-276ea48de96a0c4242139ec9323eefb6f254c2a1.zip
Remove dead commented out code [#1467 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/validations.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb
index 617b3f440f..6a9690ba85 100644
--- a/activerecord/lib/active_record/validations.rb
+++ b/activerecord/lib/active_record/validations.rb
@@ -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