What provides boolean query methods on Mime::Type instances for the native Rails mime-types.
You now have these methodsavailable from your controllers:
request.format.atom?request.format.css?request.format.csv?request.format.html?request.format.ics?request.format.js?request.format.json?request.format.multipart_form?request.format.rss?request.format.text?request.format.url_encoded_form?request.format.xml?request.format.yaml?
... and any custom mime types that you add in any environment specific config files.