+ def start_election
+ @election = Election.find(params[:id])
+
+ @election.voters.each do |voter|
+ email = VoterNotify.create_votestart(voter)
+ render(:text => "<pre>" + email.encoded + "</pre>")
+ breakpoint
+ break
+ end
+
+ #@election.activate!