mixonic/ranked-model — pull request #26 by D1plo1d (2012-09-01 20:52:20+00:00)
Title: current_last not descending so it returns the first ranked model instead (weird arel problem).

Fixing current_last. It was returning the first instead of the last for some reason in rails 3.2.5. I am also passing a :with_same parameter and had a default scope which put my models in ranked order. Switching to reverse_order simplified the code and fixed the problem.

So in case anyone else stumbles across this issue this is the fix that worked for me.