method

analyze_later

rails latest stable - Class: ActiveStorage::Blob::Analyzable
analyze_later()
public

Enqueues an ActiveStorage::AnalyzeJob which calls #analyze, or calls #analyze inline based on analyzer class configuration.

This method is automatically called for a blob when it’s attached for the first time. You can call it to analyze a blob again (e.g. if you add a new analyzer or modify an existing one).