Since we switched to active storage our pdf generation on distributions is not working correctly.
We attempt to pull in the logo of the diaper banks in the pdfs we generate app/views/distributions/print.pdf.prawn on lines 2 and 120. Using the logo_file_path which is a helper method but something with the recent active storage has broken this.
This you can see the helper method in the following file: app/helpers/distributions_helper.rb
We need to get the images properly inserted back into the generated pdfs.
This is hopefully a simple fix.
To reproduce you need to upload a diaper bank logo so the file prawn is pulling in is one that is being accessed through active storage.
I've attached a logo from one of our partner diaper banks for testings.

Since we switched to active storage our pdf generation on distributions is not working correctly.
We attempt to pull in the logo of the diaper banks in the pdfs we generate
app/views/distributions/print.pdf.prawnon lines 2 and 120. Using thelogo_file_pathwhich is a helper method but something with the recent active storage has broken this.This you can see the helper method in the following file:
app/helpers/distributions_helper.rbWe need to get the images properly inserted back into the generated pdfs.
This is hopefully a simple fix.
To reproduce you need to upload a diaper bank logo so the file prawn is pulling in is one that is being accessed through active storage.
I've attached a logo from one of our partner diaper banks for testings.