hotsh/ostatus — pull request #8 by carols10cents (2012-08-14 13:27:47+00:00)
Title: Fixing ArgumentError: comparison of Hash with Hash failed

When links contained mime types not in MIME_ORDER, index() was returning nil and the comparison failed. This change makes the comparison use -1 instead of nil.

This results in an exception that rstat.us is seeing -- https://github.com/hotsh/rstat.us/issues/556