Method: ActiveStorage::Blob#unattached

Defined in:
activestorage/app/models/active_storage/blob.rb

#unattachedObject

:singleton-method:

Returns the blobs that aren’t attached to any record.



38
# File 'activestorage/app/models/active_storage/blob.rb', line 38

scope :unattached, -> { where.missing(:attachments) }