X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/b31720d9ce48c5f46e2cb39242429a640f90fb40..c65b1e11059c5cf510b54c785d4a246215058f70:/app/models/quick_vote.rb diff --git a/app/models/quick_vote.rb b/app/models/quick_vote.rb index ab97e61..8d4e6e8 100644 --- a/app/models/quick_vote.rb +++ b/app/models/quick_vote.rb @@ -19,7 +19,6 @@ class QuickVote < Election self.enddate = Time.now + 30.days self.active = 1 self.anonymous = 1 - self.quickvote = 1 end def candidatelist=(candlist) @@ -37,7 +36,6 @@ class QuickVote < Election def create_candidates @raw_candidates.each do |name| candidate = Candidate.new({:name => name}) - candidate.save self.candidates << candidate end end