class ActiveStorage::Blob

def purge_later

needs to be made from a transaction, a callback, or any other real-time scenario.
Enqueues an ActiveStorage::PurgeJob job that'll call +purge+. This is the recommended way to purge blobs when the call
def purge_later
  ActiveStorage::PurgeJob.perform_later(self)
end