##// END OF EJS Templates
Rails3: scm: darcs: use .to_s for overriding human_attribute_name parameter...
Toshi MARUYAMA -
r8853:7100ca61ba31
parent child
Show More
@@ -21,7 +21,7 class Repository::Darcs < Repository
21 21 validates_presence_of :url, :log_encoding
22 22
23 23 def self.human_attribute_name(attribute_key_name, *args)
24 attr_name = attribute_key_name
24 attr_name = attribute_key_name.to_s
25 25 if attr_name == "url"
26 26 attr_name = "path_to_repository"
27 27 end
General Comments 0
You need to be logged in to leave comments. Login now