We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After upgrading to 5.2.1.1 I'm getting on three different applications ArgumentError: unknown keyword: content_type
ArgumentError: unknown keyword: content_type
Example model:
class Post < ApplicationRecord has_one_attached :file end
Example controller
def create @post = Post.new(post_params) @post.save end
Successfully save the record and upload the associated file to Amazon S3
Save is raising ArgumentError: unknown keyword: content_type
Rails version: 5.2.1.1
Ruby version: ruby 2.5.3p105
The text was updated successfully, but these errors were encountered:
Hi @gssbzn.
This might be a dup of #34550 and #34551.
Sorry, something went wrong.
Closing as duplicate
@stevenharman indeed
Bump to Rails 5.2.2.rc1
9daefac
This is because the security fix 5.2.1.1 had a critical issue with AWS S3 rails/rails#34558
No branches or pull requests
Steps to reproduce
After upgrading to 5.2.1.1 I'm getting on three different applications
ArgumentError: unknown keyword: content_type
Example model:
Example controller
Expected behavior
Successfully save the record and upload the associated file to Amazon S3
Actual behavior
Save is raising
ArgumentError: unknown keyword: content_type
System configuration
Rails version: 5.2.1.1
Ruby version: ruby 2.5.3p105
The text was updated successfully, but these errors were encountered: