Flowdock
method

create_after_upload!

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Blob
create_after_upload!(io:, filename:, content_type: nil, metadata: nil) public

Returns a saved blob instance after the io has been uploaded to the service. Note, the blob is first built, then the io is uploaded, then the blob is saved. This is done this way to avoid uploading (which may take time), while having an open database transaction.

Show source
Register or log in to add new notes.