method

purge_later

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Blob
purge_later() public

Enqueues an ActiveStorage::PurgeJob to call #purge. This is the recommended way to purge blobs from a transaction, an Active Record callback, or in any other real-time scenario.

Show source
Register or log in to add new notes.