Create columns in votes table necessary for polymorphic association
Change vote model to be polymorphic
Change vote model to work with a polymorphic association
Revert last commit
Change resources_stones model to work with new polymorphic nature of votes
Merge branch 'master' of https://github.com/Tambling/whetstone into voting
Change comment model to be associated with votes
Update schema
Add association to discussions for votes
Change validating uniqueness of vote, no longer can rely on resources_stone_id but now should rely on the polymorphic attributes (for the scope)
Change to correctly retrieve the resource,comment, or discussion a user is upvoting
Change linking on upvote/downvote
Update code formatting
Add class to vote count to grab it with current js implementation
Add class to vote count
Add upvote, downvote, and vote count to page
Add correct event delegation for different types of votes
Delete debugging print statements
Add vote_tally method that correctly retrieves vote count that accounts for negatives (sum() instead of count())
Fix upvote/downvote/vote-count to be more uniform, fix class naming