Get A List Of All Currently Registered MIME Types With Rails

Posted By Weston Ganger

Rails was complaining about mime types already registered, so I wanted to check what MIME types were already registered in my app.

We can do this easily through Rails console.

# List all registered{|x| x}

# Or Check for a specific type

Related External Links:

Article Topic:Software Development - Ruby / Rails

Date:March 13, 2016