unattached
Returns the blobs that aren’t attached to any record.
# File activestorage/app/models/active_storage/blob.rb, line 43 scope :unattached, -> { where.missing(:attachments) }