4 ms·
Thank you! I hadn't really thought about it because I don't see the code as being anything great (maybe that's just me being hard on myself though). From a code
by steve-benjamins 12y ago
Thank you! I hadn't really thought about it because I don't see the code as being anything great (maybe that's just me being hard on myself though). From a code standpoint, it's really standing on the backs of some great gems (three in particular: acts_as_votable, acts_as_tree, cancancan).
And the algorithm is Reddit's open sourced algorithm. A ruby version can be found here: https://gist.github.com/jrochkind/2636355 https://gist.github.com/jrochkind/2636355
- kolev 12y agoNo code is perfect and I'm sure there could be many other sort of niche communities that can benefit and help you build this into a greater platform.