projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live]
/
app
/
models
/
raw_voter_list.rb
diff --git
a/app/models/raw_voter_list.rb
b/app/models/raw_voter_list.rb
index 71b200f603f313db269a5cae7714ebe84af8b957..508902cfc24a92121711ecfbd519ca7bcbb277a3 100644
(file)
--- a/
app/models/raw_voter_list.rb
+++ b/
app/models/raw_voter_list.rb
@@
-16,7
+16,7
@@
class RawVoterList
def each
@input_addresses.split("\n").each do |address|
- yield Voter.new( { :email => address } )
+ yield
Full
Voter.new( { :email => address } )
end
end
end
Benjamin Mako Hill
||
Want to submit a patch?