ActiveStorage::Attached::Many
Inherits Enumerable < Reference < Object
The has_many_attached proxy. Collection methods (map/each/size/…) go straight to the attachment rows — the port's equivalent of the gem's delegate_missing_to :attachments for the collection case.
Constructors
Instance methods
Attaches one attachable or several at once. An attachable is an io/filename/content_type triple, an existing Blob, or a blob's signed_id (the direct-upload form: the blob was created and uploaded before the form was submitted).
attach(blob : Blob) : Nil
Sourceattached?
Sourceattachments
Sourceblobs
Sourcedownload
Source