Note: You will need to set up a vote model, so that you can associate votes to your asset.\ This simple module will add a has_many :votes association into any model declaration from which include Voteable is called. It will also inject 3 instance methods that you should consider using when making a way to vote, and retrieve a tally of votes.

Required Ruby Version

>= 0

Authors

Aaron Riggs

Versions

  1. 0.0.0 October 02, 2015 (4.5 KB)

SHA 256 checksum