class

ActiveStorage::Attached::One

Inherits Reference < Object

Constructors

new(name : String, record : ActiveRecord::Base)
Source

Instance methods

attach(io : String, filename : String, content_type : String) : Blob
Source
attached?
Source
blob
Source
detach
Source
download
Source
filename
Source
purge
Source
url(expires_in : Int32 = 300) : String
Source
variant
Source