From: Grant Slater Date: Fri, 29 Jul 2022 17:55:17 +0000 (+0300) Subject: Fix statistics script to use absolute links X-Git-Tag: live~1626^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a89b8674954aaeaf076c76725c238e3ca49619cf?ds=sidebyside;hp=fb6b1074698d0d30b6b2602e7378eb9b323bfdbb Fix statistics script to use absolute links --- diff --git a/script/statistics b/script/statistics index 05ed637a8..9b27bf08f 100755 --- a/script/statistics +++ b/script/statistics @@ -36,7 +36,7 @@ begin Trace.where(:inserted => true).group(:user_id).order("sum_size DESC").limit(50).sum(:size).each do |user, count| display_name = User.find(user).display_name.gsub("@", " at ").gsub(".", " dot ") - puts "#{display_name}#{count}" + puts "#{display_name}#{count}" end puts "" @@ -75,7 +75,7 @@ begin else display_name = User.find(column[0]).display_name.gsub("@", " at ").gsub(".", " dot ") count = column[1] - puts "#{count} #{display_name}" + puts "#{count} #{display_name}" end end puts ""