##// END OF EJS Templates
Rails3: scm: filesystem: use .to_s for overriding human_attribute_name parameter...
Toshi MARUYAMA -
r8854:e6916cf72f5b
parent child
Show More
@@ -25,7 +25,7 class Repository::Filesystem < Repository
25 validates_presence_of :url
25 validates_presence_of :url
26
26
27 def self.human_attribute_name(attribute_key_name, *args)
27 def self.human_attribute_name(attribute_key_name, *args)
28 attr_name = attribute_key_name
28 attr_name = attribute_key_name.to_s
29 if attr_name == "url"
29 if attr_name == "url"
30 attr_name = "root_directory"
30 attr_name = "root_directory"
31 end
31 end
General Comments 0
You need to be logged in to leave comments. Login now