module ActiveStorage::SetBlob
def blob_scope
def blob_scope ActiveStorage::Blob end
def set_blob
def set_blob @blob = blob_scope.find_signed!(params[:signed_blob_id] || params[:signed_id]) rescue ActiveSupport::MessageVerifier::InvalidSignature head :not_found end