projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix broken Plurality vote by removing a type check in RubyVote. TODO: Figure out...
[selectricity]
/
app
/
models
/
raw_voter_list.rb
diff --git
a/app/models/raw_voter_list.rb
b/app/models/raw_voter_list.rb
index 2f7cb28b1ae62f2ca6ec46c56d2fb8eecf07bbe5..71b200f603f313db269a5cae7714ebe84af8b957 100644
(file)
--- a/
app/models/raw_voter_list.rb
+++ b/
app/models/raw_voter_list.rb
@@
-6,7
+6,7
@@
class RawVoterList
include Enumerable
def initialize(params={})
- @email = params[:email] || 1
+ @email = params[:email]
.to_i
|| 1
@input_addresses = params[:input_addresses] || String.new
end
Benjamin Mako Hill
||
Want to submit a patch?