diff --git a/app/models/solr_document_sidecar.rb b/app/models/solr_document_sidecar.rb index 6586b1d41..9fb198a01 100644 --- a/app/models/solr_document_sidecar.rb +++ b/app/models/solr_document_sidecar.rb @@ -8,6 +8,11 @@ class SolrDocumentSidecar < ApplicationRecord initial_state: :initialized ] + include Statesman::Adapters::ActiveRecordQueries[ + transition_class: SidecarImageTransition, + initial_state: :initialized + ] + # Deprecated - Carrierwave mount_uploader :cw_image, ImageUploader