##// END OF EJS Templates
Rails3: scm: cvs: use .to_s for overriding human_attribute_name parameter...
Toshi MARUYAMA -
r8852:e5bcac15724f
parent child
Show More
@@ -22,7 +22,7 class Repository::Cvs < Repository
22 validates_presence_of :url, :root_url, :log_encoding
22 validates_presence_of :url, :root_url, :log_encoding
23
23
24 def self.human_attribute_name(attribute_key_name, *args)
24 def self.human_attribute_name(attribute_key_name, *args)
25 attr_name = attribute_key_name
25 attr_name = attribute_key_name.to_s
26 if attr_name == "root_url"
26 if attr_name == "root_url"
27 attr_name = "cvsroot"
27 attr_name = "cvsroot"
28 elsif attr_name == "url"
28 elsif attr_name == "url"
General Comments 0
You need to be logged in to leave comments. Login now