class ActiveStorage::Attached::Changes::CreateOne

def find_attachment

def find_attachment
  if record.public_send("#{name}_blob") == blob
    record.public_send("#{name}_attachment")
  end
end