]> projects.mako.cc - selectricity-live/blobdiff - app/models/quick_vote.rb
Modified the methods in graphs controller so they would work for Selectricity, but...
[selectricity-live] / app / models / quick_vote.rb
old mode 100644 (file)
new mode 100755 (executable)
index ab97e61..98379cb
@@ -37,7 +37,6 @@ class QuickVote < Election
   def create_candidates
     @raw_candidates.each do |name|
       candidate = Candidate.new({:name => name})
-      candidate.save
       self.candidates << candidate
     end
   end

Benjamin Mako Hill || Want to submit a patch?