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

JPEG mime registration generates warning when used as a gem #5

Open
pixeltrix opened this issue Mar 12, 2010 · 2 comments
Open

JPEG mime registration generates warning when used as a gem #5

pixeltrix opened this issue Mar 12, 2010 · 2 comments

Comments

@pixeltrix
Copy link
Contributor

When using fleximage as a gem a warning is generated by the registration of the image/jpeg mime type and its alias image/pjpeg. I think this warning is also generated when installed as a plugin but its swallowed during the initial plugin loading. Also looking at the code for register_alias it's the wrong method - it should be registered as a mime type synonym. My fault since I added it in the first place.

Anyway a fix for this can be found in this commit.

@jlsync
Copy link
Contributor

jlsync commented Mar 14, 2010

yes, this is annoying me no end. thanks for fixing.

@robinboening
Copy link

thanks!

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

3 participants