projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed save line that was causing the new elections to fail
[selectricity]
/
app
/
models
/
quick_vote.rb
diff --git
a/app/models/quick_vote.rb
b/app/models/quick_vote.rb
index ab97e616b9131e85f4056bf43cab22f3d935a45c..98379cbb89ffd1497711c5c3ddb5555bb1b9f9ac 100755
(executable)
--- 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
Benjamin Mako Hill
||
Want to submit a patch?