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.
  • 1hr 38min
  • 6 Episodes
  • 1hr 38min Remaining
1hr 38min Remaining
  1. In-depth Look into ActiveStorage
    Play
    21:59

    #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
    • 22
    • 10

  2. Active Storage Uploads Behind a CDN
    Play
    15:59

    #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
    • 8
    • 9

  3. Bulk Upload with Active Storage
    Play
    7:00

    #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
    • 6
    • 2

  4. Audio Streaming with Active Storage
    Play
    10:21

    #233 Mar 15, 2020

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

  5. Streaming Videos with Active Storage
    Play
    12:55

    #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
    • 8
    • 11

  6. Adaptive Bitrate Streaming with Active Storage
    Play
    29:56

    #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
    • 5
    • 10