class ActiveStorage::Attached::Changes::DeleteOne
:nodoc:
def attachment
def attachment nil end
def initialize(name, record)
def initialize(name, record) @name, @record = name, record end
def save
def save record.public_send("#{name}_attachment=", nil) end