There is a votes table in the pairwise db that stores the question, prompt (pair) and choice of each vote. It also has a voter_id, we can use that field to save the id of the user that is voting in /allourideas.org/app/controllers/prompts_controller#vote
There is a votes table in the pairwise db that stores the question, prompt (pair) and choice of each vote. It also has a voter_id, we can use that field to save the id of the user that is voting in /allourideas.org/app/controllers/prompts_controller#vote