projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Variety of improvements and additions:
[selectricity-live]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index 29bf1b03e4897ad36f5345b3ec6521e514a8abdf..61286e1c1829c00e5880dacffda74370de7033bb 100644
(file)
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-18,7
+18,7
@@
class Election < ActiveRecord::Base
self.candidates.each do |candidate|
candidate.destroy
end
- super
destroy
+ super
end
end
Benjamin Mako Hill
||
Want to submit a patch?