Friendly::MIME gem provides possibility to show friendly description of a document by the given MIME type.
Łukasz Śliwa
MIT