class method self.create_after_upload!

Ruby on Rails 6.0.6

Since v5.2.8.1 Last seen in v6.1.7.10

Available in: v5.2.8.1 v6.0.6 v6.1.7.10

Signature

self.create_after_upload!(io:, filename:, content_type: nil, metadata: nil, identify: true, record: nil)

No documentation comment.

Parameters

io keyreq
filename keyreq
content_type key = nil
metadata key = nil
identify key = true
record key = nil

Alias for

ActiveStorage::Blob.create_and_upload!

Defined in activestorage/app/models/active_storage/blob.rb · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Blob

Type at least 2 characters to search.

↑↓ navigate · open · esc close