I'm new to Rails and currently working on an app where my classmates/schoolmates can comment on topics/issues (relevant to us), and each of those comments should be possible to be voted up or down.
I created an own model for both the "upvote" and "downvote".
Now, in the database, I'm wondering, should there be one single integer for both vote models that can be increased, so in my controller actions it would be ... += 1. - Or should it rather be a list/collection of votes that simply is counted with the .count method to show the upvote or downvote value?