Variety of improvements and additions:
[selectricity-live] / app / models / election.rb
index 29bf1b03e4897ad36f5345b3ec6521e514a8abdf..61286e1c1829c00e5880dacffda74370de7033bb 100644 (file)
@@ -18,7 +18,7 @@ class Election < ActiveRecord::Base
     self.candidates.each do |candidate|
       candidate.destroy
     end
-    super destroy
+    super
   end
   
 end

Benjamin Mako Hill || Want to submit a patch?