voting works from rails c