Voting and Polling

I’m pretty new to this so hopefully this isn’t a redundant question as I
couldn’t seem to find anything on it. How can I add voting capability
to a site? I’m getting started building a site with Rails and I would
like people to be able to vote certain things with the options of “yes”
or “no” or “right” or “wrong”. Could someone tell me how I can add this