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