All Lessons / How to use Uppy with ActiveStorage

Your Teacher | Chris Oliver

Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.

About This Episode

Learn how to implement Uppy as a frontend for uploading files via drag and drop, paste, URL, Google Drive, Dropbox, webcam and more to Active Storage in Rails

Notes

Uppy.io is a fantastic file uploading frontend Javascript library. It provides a drag and drop interface along with copy & paste and integrations with services like Google Drive, Dropbox, Instagram, and more. You can upload files from any of those locations and Uppy will retrieve and upload the file for you wherever it needs to go.

Integrating Uppy with ActiveStorage can be a bit of a pain however. You actually need a plugin to make it work with ActiveStorage's direct upload URL so it knows where to send the files.

Resources

Discussion

Loading...
logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.