From 4bbb5926b11e0e7620282ba300fe38464d68e334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Wed, 28 Aug 2024 16:41:52 +0200 Subject: [PATCH] Added info --- app/models/job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/job.rb b/app/models/job.rb index 20bdf78..321e8c3 100644 --- a/app/models/job.rb +++ b/app/models/job.rb @@ -20,6 +20,8 @@ class Job < ApplicationRecord # TODO: works only when job is created. Should move analyzer to activestorage : # https://discuss.rubyonrails.org/t/active-storage-in-production-lessons-learned-and-in-depth-look-at-how-it-works/83289 # https://redgreen.no/2021/01/24/custom-analyzer-for-activestorage.html + # Possible alternative + # https://github.com/shrinerb/shrine after_create_commit :analyze_pdf # NOTE: Multiple status if paing before brinting?