netelder/dbcoverflow — pull request #1 by pyluftig (2013-06-28 03:09:10+00:00)
Title: take it or leave it - some sick ass javascript

- added polymorphic vote table with unique constraints so user can only vote once per voteable object
- user can vote on a comment
- user can change their vote on that comment

Note:
- did not add question voting (should be very simple to add vote partial to questions)
- did not include any counters for votes (should also be simple through votes table)
- no tests -- sorry :(