From: Date: Sat, 4 Aug 2007 06:47:27 +0000 (-0400) Subject: removed save line that was causing the new elections to fail X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/c8499fcec8f54c148e3b387e6d774a80a20121e3?ds=sidebyside removed save line that was causing the new elections to fail --- diff --git a/app/models/quick_vote.rb b/app/models/quick_vote.rb index ab97e61..98379cb 100755 --- a/app/models/quick_vote.rb +++ b/app/models/quick_vote.rb @@ -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