square/rails — pull request #48 by tienn (2014-07-01 22:57:37+00:00)
Title: if format is unknown NullMimeTypeObject is returned

Backporting this commit so that request.format is never nil