method

touch_attachments

touch_attachments()
public

No documentation available.

# File activestorage/app/models/active_storage/blob.rb, line 363
    def touch_attachments
      attachments.then do |relation|
        if ActiveStorage.touch_attachment_records
          relation.includes(:record)
        else
          relation
        end
      end.each do |attachment|
        attachment.touch
      end
    end