method
build_after_upload
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Blob
build_after_upload(io:, filename:, content_type: nil, metadata: nil, identify: true)public
Returns a new, unsaved blob instance after the io has been uploaded to the service. When providing a content type, pass identify: false to bypass automatic content type inference.