Merged r6126 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6161 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-07-02 17:43:08 +00:00
parent 8e87cd6f77
commit 97b697a678
2 changed files with 41 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ module ActiveRecord
# Translate attribute names for validation errors display
def self.human_attribute_name(attr)
l("field_#{attr.to_s.gsub(/_id$/, '')}")
l("field_#{attr.to_s.gsub(/_id$/, '')}", :default => attr)
end
end
end