T S Vallender

active-storage

Set up virus scanning on Active storage attachments with Clamby. Might be worth a quick blog post or PR to their docs as there were a couple of gotchas.
Tags:

Discovered that Active Storage variants by default will strip the animation from any GIF.

The solution is to pass loader: { page: nil } to variant, and also to preprocess the image with a call to convert --coalesce.
Tags: