instance method analyze_without_saving

Ruby on Rails edge

Since edge

Signature

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

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