projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big commit includes:
[selectricity]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index 7343d7204070b374eb8b383751b17e0f8ae29b7c..a574139c535abc4f48b7ba5a210da7d918e5362d 100644
(file)
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-57,7
+57,7
@@
class Election < ActiveRecord::Base
def start_blockers
reasons = []
def start_blockers
reasons = []
-
+ debugger
if self.candidates.length <= 1
reasons << "You must have at least two candidates."
end
if self.candidates.length <= 1
reasons << "You must have at least two candidates."
end
Benjamin Mako Hill
||
Want to submit a patch?