else
# record the ip address for posterity
- @voter.ipaddress = request.env["REMOTE_ADDR"]
+ @voter.ipaddress = request.env["HTTP_X_FORWARDED_FOR"]
@voter.save
# toggle the confirmation bit
@condorcet_result = PureCondorcetVote.new(preference_tally).result
@ssd_result = CloneproofSSDVote.new(preference_tally).result
@borda_result = BordaVote.new(preference_tally).result
- @runoff_result = InstantRunoffVote.new(preference_tally).result
+ #@runoff_result = InstantRunoffVote.new(preference_tally).result
+ #@runoff_results = PluralityVote.new(preference_tally).result
+
@candidates = {}
@election.candidates.each {|c| @candidates[c.id] = c}