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
ActiveStorage::Blob#upload in app/models/active_storage/blob.rb is calling service.upload key, io, checksum: checksum, **service_metadata.
The method signature of the #upload method of service doesn't include content_type, but the service_metadata method is returning a hash with content_type as key.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
:amazon
as its active_storage.service`views form
to be able to upload an image/fileExpected behavior
File should be uploaded successfully and can be found in your s3 bucket
Actual behavior
Getting an error
System configuration
Rails version: 5.2.1.1
Ruby version: 2.5.0
Findings
ActiveStorage::Blob#upload
inapp/models/active_storage/blob.rb
is callingservice.upload key, io, checksum: checksum, **service_metadata
.The method signature of the
#upload
method of service doesn't includecontent_type
, but theservice_metadata
method is returning a hash withcontent_type
as key.The text was updated successfully, but these errors were encountered: