Sha256: cbe15eb2db665937b2a3d65890ddc2e72e7e60460b8538911062714b61e41f58

Contents?: true

Size: 274 Bytes

Versions: 24

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

# Provides asynchronous purging of ActiveStorage::Blob records via ActiveStorage::Blob#purge_later.
class ActiveStorage::PurgeJob < ActiveStorage::BaseJob
  discard_on ActiveRecord::RecordNotFound

  def perform(blob)
    blob.purge
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
activestorage-5.2.8.1 app/jobs/active_storage/purge_job.rb
activestorage-5.2.8 app/jobs/active_storage/purge_job.rb
activestorage-5.2.7.1 app/jobs/active_storage/purge_job.rb
activestorage-5.2.7 app/jobs/active_storage/purge_job.rb
activestorage-5.2.6.3 app/jobs/active_storage/purge_job.rb
activestorage-5.2.6.2 app/jobs/active_storage/purge_job.rb
activestorage-5.2.6.1 app/jobs/active_storage/purge_job.rb
activestorage-5.2.6 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.6 app/jobs/active_storage/purge_job.rb
activestorage-5.2.5 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.5 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.4 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.3 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.2 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.1 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4 app/jobs/active_storage/purge_job.rb
activestorage-5.2.4.rc1 app/jobs/active_storage/purge_job.rb
spiral_form-0.1.1 vendor/bundle/gems/activestorage-5.2.3/app/jobs/active_storage/purge_job.rb
spiral_form-0.1.0 vendor/bundle/gems/activestorage-5.2.3/app/jobs/active_storage/purge_job.rb
activestorage-5.2.3 app/jobs/active_storage/purge_job.rb