Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for replacement of MIME::Types#index_extensions #88

Closed
haslinger opened this issue Jan 12, 2015 · 4 comments
Closed

Documentation for replacement of MIME::Types#index_extensions #88

haslinger opened this issue Jan 12, 2015 · 4 comments

Comments

@haslinger
Copy link

I learn that MIME::Types#index_extensions is deprecated and will be private.
What's the suggested way to go these days?
A note in the documentation about it would be nice.

@halostatue
Copy link
Member

There is currently no replacement planned; I am aware that there is a problem where the extensions need to be updated.

Can you indicate your use case?

@haslinger
Copy link
Author

Thanks for your quick reply!
I'm coming here from using Paperclip (the attachment-upload gem) where the method is recommended for fixing inconsistencies. To be more precise, I've got ogg-audio-files which are .ogg, but declare themselves as video/ogg when uploaded.
Maybe it's better than I tell Paperclip about the deprecation?
(Off topic: Thank you for your work! It's people like you, who provide infrastructure for devs like me, I very much appreciate it.)

@halostatue
Copy link
Member

As I understand it, when I figure out a fix for #84, this should also be fixed.

@haslinger
Copy link
Author

Yep, so I no follow the #84 and close here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants