From: Tom Hughes Date: Wed, 22 Apr 2009 13:34:12 +0000 (+0000) Subject: The active flag is still an integer for some reason, not a boolean. X-Git-Tag: live~7492 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9b2248e8fb89a74c582393bb77d1d5e4d86d8e87 The active flag is still an integer for some reason, not a boolean. Closes #1727. --- diff --git a/script/statistics b/script/statistics index 62c7e93a9..7105d475d 100755 --- a/script/statistics +++ b/script/statistics @@ -15,7 +15,7 @@ puts "" puts "

OpenStreetMap stats report run at #{start_time.to_s}

" begin - user_count = User.count(:conditions => "active = true") + user_count = User.count(:conditions => "active = 1") tracepoint_count = Tracepoint.count() node_count = Node.count(:conditions => "visible = true") way_count = Way.count(:conditions => "visible = true")