ActiveStorage Direct Upload with Stimulus | Rails Designer
04-Oct-2024 389
ActiveStorage’s DirectUpload feature allows files to be directly uploaded to your Cloud’s storage without touching your app’s server.In two previous articles I explored first previewing images before upload and then a drag & drop feature. In this article I am going, once again, extend the functionality by adding a direct upload feature.
Direct Upload in ActiveStorage allows files to be uploaded directly from the user to the cloud storage service (eg. S3), without touching your app’s server. This is mostly useful for larger files like audio and video, but nonetheless useful for images too.
ActiveStorage Direct Upload with Stimulus | Rails Designer #ruby #rubydeveloper #rubyonrails #ActiveStorage #Direct #Upload #Stimulus #Rails #Designer #activestorage #stimulus https://rubyonrails.ba/link/activestorage-direct-upload-with-stimulus-rails-designer