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

Rails 6.1 deprecates content_type in favor of media_type #26

Merged
merged 1 commit into from
Jun 12, 2021

Commits on Jun 11, 2021

  1. Rails 6.1 deprecates content_type in favor of media_typa

    In Rails 6.0 there's a lot of "DEPRECATION WARNING: Rails 6.1 will return Content-Type header without modification. If you want just the MIME type, please use `#media_type` instead. "
    bf4 authored Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9a7bf16 View commit details
    Browse the repository at this point in the history