You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bug in mime-types, but in mime-types-data. Update that gem to 3.2019.1009 and the issue will fix itself. Resolved in mime-types/mime-types-data#24.
With the version 3.3 the extension for PDF document is wrong:
MIME::Types['application/pdf'].last.preferred_extension
return.ai
With the previous version:
MIME::Types['application/pdf'].last.preferred_extension
return.pdf
The text was updated successfully, but these errors were encountered: