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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user