Upload Different File Types With Active Storage In Ruby On Rails 7

This video covers uploading images, videos, audio recordings, and other file types like documents to your Ruby on Rails 7 application using Active Storage.
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
Join this channel to get access to perks:
/ @deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
Timestamps
0:00 Uploading Miscellaneous Filetypes
4:08 The Attachments Partial
4:54 Uploading Images In Rails 7
6:54 Uploading Videos In Rails 7
8:54 Uploading Audio In Rails 7
10:21 Uploading Other File Types In Rails 7
#Deanin #Software #Programming

Пікірлер: 10

  • @Sheriffdeenalade
    @Sheriffdeenalade Жыл бұрын

    Very good and straight forward tutorial.

  • @ppavelcars
    @ppavelcars2 жыл бұрын

    Cool! Thank you for tutorial!

  • @muhammadaamirkhan9185
    @muhammadaamirkhan9185 Жыл бұрын

    Nice, thank you. very helpful

  • @edwingalviz3498
    @edwingalviz34982 жыл бұрын

    very good thank you

  • @stpaquet
    @stpaquet2 жыл бұрын

    Since Rails 5.2 the dependent: :destroy is no longer required as this is the default behavior of the app. However, there is a purge_later that has been introduce and could turn out to be interesting to defer the deletion of the files attached to a record and lower the server load.

  • @tiagolelinskimarin4242
    @tiagolelinskimarin4242 Жыл бұрын

    Great content, this really helped me to work things out about using files in rails the right way. Now, I'm stuck now on seeding the images to an Amazon s3 bucket. Do you happen to have a video on that?

  • @user-dx6qt7tw1v
    @user-dx6qt7tw1v11 ай бұрын

    What would I do if I wanted to upload two different file types (image, and audio) in the same post? I've tried a combination of things to no avail.

  • @MrHorse16
    @MrHorse162 жыл бұрын

    How would you get this to work with PDFs?

  • @abdulhaqqsomoye9873

    @abdulhaqqsomoye9873

    Жыл бұрын

    the last "else" statement works with all file types including pdfs...the link to tag opens up the pdf

  • @ledockol
    @ledockol2 жыл бұрын

    Great, thanks! Слава Україні!