X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..afa6b59aed60497d059af87c049c0b4f1a6c8b6c:/app/models/quick_vote.rb diff --git a/app/models/quick_vote.rb b/app/models/quick_vote.rb index ab97e61..8d4e6e8 100755 --- 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