FirehoseCommunity / DEFCON

6 stars 4 forks source link

Voting system #118

Closed robertsapunarich closed 8 years ago

robertsapunarich commented 8 years ago

I don't think this is quite ready to merge, especially because the voting functionality isn't in the views yet, but I wanted to make this available for code review. I tried to be clever and build my own voting system from scratch, but settled on using the acts_as_votable gem. The documentation can be found here. I'm also referring to this tutorial quite a bit.

kenmazaika commented 8 years ago

Looks solid to me, @robertsapunarich

robertsapunarich commented 8 years ago

I think this is ready to go now. Wrote a method in the model that seemed to solve everything. If anyone has suggestions for refactoring or wants to evaluate the code from an OO design perspective, I'm open.

kenmazaika commented 8 years ago

Thumbs up @robertsapunarich. Awesome code!