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