- votes << VoteInfo.new(:voter_id => vote.voter.id, :voter_ipaddress => vote.voter.ipaddress, :vote_time => vote.time.to_i)
+ votes << VoteInfo.new(:voter_id => vote.voter.id, :voter_ipaddress => vote.voter.ipaddress, :vote_time => vote.time.to_i, :vote => vote.votes)
def create_quickvote(election)
qv=QuickVote.new(:name => election.name, :description => election.description)
qv.candidatelist=election.candidate_names
def create_quickvote(election)
qv=QuickVote.new(:name => election.name, :description => election.description)
qv.candidatelist=election.candidate_names