projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b94234
)
The active flag is still an integer for some reason, not a boolean.
author
Tom Hughes
<tom@compton.nu>
Wed, 22 Apr 2009 13:34:12 +0000
(13:34 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 22 Apr 2009 13:34:12 +0000
(13:34 +0000)
Closes #1727.
script/statistics
patch
|
blob
|
history
diff --git
a/script/statistics
b/script/statistics
index 62c7e93a966eddfd229dc6ae3c14b01d831729c2..7105d475d3297381a57276ae065e2c80cb48a219 100755
(executable)
--- a/
script/statistics
+++ b/
script/statistics
@@
-15,7
+15,7
@@
puts "<body>"
puts "<h2>OpenStreetMap stats report run at #{start_time.to_s}</h2>"
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")