RankedModel for Rails 4

Wow! This takes me back! Please check the date this post was authored, as it may no longer be relevant in a modern context.

This evening I’ve spent some time updating the tests and code of RankedModel for Rails 4. The pull request is here:

Of much help was @schneems’s guide to testing against multiple Rails versions.

Please give it a test as you upgrade and I will make a release shortly.