Modified the methods in graphs controller so they would work for Selectricity, but...
[selectricity] / app / views / quickvote / results.rhtml
index ef2ffd9444db3a636fc964af42cf06a7a3721a00..321dbbca3d1266eac4b32b32ff228db5d1b58104 100755 (executable)
@@ -21,7 +21,7 @@
 
 <p><strong>Number of voters:</strong></p>
    <blockquote>
-     <%= @election.voters.length %> (see below for details) 
+     <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) 
    </blockquote>
 
 <h2>Winners</h2>
@@ -161,3 +161,4 @@ by several other names.</p>
   </tr>
 <% end %>
 </table>
+<img src="<% url_for(:controller => 'graphs', :action => 'day_votes', :id => @election ) %>" />

Benjamin Mako Hill || Want to submit a patch?