removed debug
updated validation in vote.rb