diff options
author | Yaroslav Markin <yaroslav@markin.net> | 2008-12-21 11:35:50 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-21 15:55:42 +0000 |
commit | 276ea48de96a0c4242139ec9323eefb6f254c2a1 (patch) | |
tree | ddeddc65622199c2664013dbde954c34f07bc4cf | |
parent | 3b317b7100c9a416f4e3545f3844f0c0743acdb2 (diff) | |
download | rails-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>
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 1 |
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 |