Ask A Question

Notifications

You’re not receiving notifications from this thread.

Dropzone with Shrine

Tim Dowling asked in Javascript

I just switched to shrine as Active Storage doesn't support custom file paths. At my day job a question on security assessments requires blob storage to have some sort of tenant separation and i thought it would be useful to set it up for my project.

Has anyone had any luck connecting shrine and dropzone js? I wasn't able to pass the value via the stimulus controller via an update action. How could you take exactly what would have been submitted from the file_field and submit via ajax?

Reply

Tim did you had any luck with this? I am in your same situation and the only resource I found it's an old article on Medium https://medium.com/@stephendolan/rails-shrine-dropzonejs-f9d0944d17e3

Reply

I have the same situation, if you know the answer, please share with me.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.