Active Storage Uploads

Active Storage facilitates uploading files to a cloud storage service like Amazon S3, Google Cloud Storage, or Microsoft Azure Storage and attaching those files to Active Record objects. It comes with a local disk-based service for development and testing and supports mirroring files to subordinate services for backups and migrations.
  • 2hr 17min
  • 8 Episodes
  • 2hr 17min Remaining
2hr 17min Remaining
  1. Zipping Files
    Play
    27:21 CC

    #385 Jan 22, 2023

    In this episode, we have a look at three different methods of zipping Active Storage files and sending the zipped file to the end user. Each approach has its own benefits and the best approach will depend on your use case.
    • 27min
    • 2
    • 2

  2. Active Storage Variants
    Play
    11:25 CC

    #376 Nov 20, 2022

    In this episode, we look at cleaning up our Active Storage variants and also look at several different use cases to manipulate the images with resizes, watermarks, format and quality.
    • 11min
    • 5
    • 0

  3. In-depth Look into ActiveStorage
    Play
    21:59 CC

    #111 Dec 24, 2017

    In this episode, we look at ActiveStorage, which is the new file uploading interface in Rails 5.2, and how we can accomplish direct uploads to cloud storage, retrieving & displaying uploaded content, and showing progression with progress bars.
    • 21min
    • 25
    • 10

  4. Active Storage Uploads Behind a CDN
    Play
    15:59 CC

    #256 Aug 23, 2020

    Even fast websites can seem slow if it takes a while for the content to get to them. This can be partially solved with a Content Delivery Network (CDN). However, most resources usually only shows how to set up static assets and not uploaded content. Learn how to use Amazon CloudFront to cache and serve uploaded content from Active Storage.
    • 15min
    • 13
    • 9

  5. Bulk Upload with Active Storage
    Play
    7:00 CC

    #255 Aug 16, 2020

    When multiple files are uploaded with Active Storage, they are typically associated to a single record. In this episode, we take a different approach where each file uploaded should be its own record along with direct uploads.
    • 7min
    • 8
    • 6

  6. Audio Streaming with Active Storage
    Play
    10:21 CC

    #233 Mar 15, 2020

    Using StimulusJS and Active Storage, create a simple Audio Streaming service where users can play and stream audio content.
    • 10min
    • 6
    • 10

  7. Streaming Videos with Active Storage
    Play
    12:55 CC

    #230 Feb 23, 2020

    Video.js is a web video player built from the ground up for an HTML5 world. Learn how to use it with StimulusJS and Active Storage to deliver video content from your Ruby on Rails application.
    • 12min
    • 17
    • 14

  8. Adaptive Bitrate Streaming with Active Storage
    Play
    29:56 CC

    #232 Mar 8, 2020

    Adaptive streaming allows the video provider to create a different video for each of the screen sizes (or devices) that he or she wishes to target. In this episode, we look at converting our Progressive Video Streams into Adaptive Bitrate Streams and serving it through Active Storage.
    • 29min
    • 10
    • 18