instance method
analyze_without_saving
Ruby on Rails edge
Since edgeSignature
analyze_without_saving()
Extracts metadata but does not persist it. Used during the upload flow when the blob hasn’t been saved yet.
Source
# File activestorage/app/models/active_storage/blob/analyzable.rb, line 35
def analyze_without_saving
self.metadata = metadata.merge(extract_metadata_via_analyzer)
end
Defined in activestorage/app/models/active_storage/blob/analyzable.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob::Analyzable