diff options
Diffstat (limited to 'lib/active_storage/purge_job.rb')
-rw-r--r-- | lib/active_storage/purge_job.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/active_storage/purge_job.rb b/lib/active_storage/purge_job.rb deleted file mode 100644 index b59d3687f8..0000000000 --- a/lib/active_storage/purge_job.rb +++ /dev/null @@ -1,10 +0,0 @@ -require "active_job" - -class ActiveStorage::PurgeJob < ActiveJob::Base - # FIXME: Limit this to a custom ActiveStorage error - retry_on StandardError - - def perform(attachment_or_blob) - attachment_or_blob.purge - end -end |