summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/repository/mercurial.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb
index 391c4466f..b2ee18445 100644
--- a/app/models/repository/mercurial.rb
+++ b/app/models/repository/mercurial.rb
@@ -30,7 +30,7 @@ class Repository::Mercurial < Repository
FETCH_AT_ONCE = 100
def self.human_attribute_name(attribute_key_name, *args)
- attr_name = attribute_key_name
+ attr_name = attribute_key_name.to_s
if attr_name == "url"
attr_name = "path_to_repository"
end