instance method purge_dependent_blob

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

purge_dependent_blob()

No documentation comment.

Source
# File activestorage/app/models/active_storage/attachment.rb, line 225
    def purge_dependent_blob
      if dependent == :purge_later
        blob&.purge_later
      elsif dependent == :purge
        blob&.purge
      end
    end

Defined in activestorage/app/models/active_storage/attachment.rb line 225 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Attachment

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close