Stephane PAQUET PRO
Joined 5/29/2021
Stephane PAQUET PRO said over 2 years ago on Direct Upload Instantly :
I'm not sure, but it looks like the following comment in your code is no longer true

# If using Hotwire, you cannot import from @rails/activestorage
# instead, use skypack or similar to pull in active storage.

I was getting compile error using skypack and moving back to 
import { DirectUpload } from "@rails/activestorage" solved all my problems. I only have to deal with partial forms with hotwire now ;-)

Stephane PAQUET PRO said about 2 years ago on Direct Upload Instantly :
  I think that "MessageVerifier-InvalidSignature" is linked to the form secret token not being properly managed. Not to validation.

Stephane PAQUET PRO said about 2 years ago on Direct Upload Instantly :
  One quick question. How would you update and existing image?

Stephane PAQUET PRO said about 2 years ago on Direct Upload Instantly :
  thanks. 
I have a has_one_attached in my model and so far it creates a new image every time I want to update one. So I guess that I probably missed something.
I also watched episode 281, which is a great companion to this one.