From 3e8e53c3ea9645aebdf82554c0567daabf0394d4 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 7 May 2010 15:46:47 +0100 Subject: [PATCH] Fixed commenting error --- app.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.rb b/app.rb index f2f57ff..08e7a56 100644 --- a/app.rb +++ b/app.rb @@ -39,9 +39,9 @@ get '/' do ORDER BY votes desc ;") -select p.name, count(c.*) AS seats -FROM parties p, councilcandidates c -GROUP BY p.id +# select p.name, count(c.*) AS seats +# FROM parties p, councilcandidates c +# GROUP BY p.id @total_votes = Councilcandidate.sum(:votes_2010)