##// END OF EJS Templates
Rails3: scm: use .to_s for overriding human_attribute_name parameter at repository model...
Toshi MARUYAMA -
r8850:cd9b62d7344d
parent child
Show More
@@ -49,7 +49,7 class Repository < ActiveRecord::Base
49 end
49 end
50
50
51 def self.human_attribute_name(attribute_key_name, *args)
51 def self.human_attribute_name(attribute_key_name, *args)
52 attr_name = attribute_key_name
52 attr_name = attribute_key_name.to_s
53 if attr_name == "log_encoding"
53 if attr_name == "log_encoding"
54 attr_name = "commit_logs_encoding"
54 attr_name = "commit_logs_encoding"
55 end
55 end
General Comments 0
You need to be logged in to leave comments. Login now