Active Storage Uploads Behind a CDN
Play
15:59 CC

Active Storage Uploads Behind a CDN

#256 Aug 23, 2020 pro
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.

Load Testing with JMeter
Play
16:15 CC

Load Testing with JMeter

#184 Apr 21, 2019 pro
Load Testing is an important aspect of due diligence when hosting a production application. It can also help uncover infrastructure requirements and server costs.

Organizing Stimulus Controllers
Play
11:54 CC

Organizing Stimulus Controllers

#267 Nov 8, 2020 pro
StimulusJS is great and works great with Ruby on Rails. However, through developer habits, we can complicate our controllers and make them hard to manage. In this episode, we look at making our Stimulus controllers more manageable.

Securing Downloads with Global ID
Play
22:57 CC

Securing Downloads with Global ID

#315 Sep 19, 2021 pro
With custom controllers and Global ID, we can lock down Active Storage files to provide a link which expires after a duration of time. At the beginning of the video, I tour the new Rails 7 template and configuration that will be used for episodes going forward.

Feature Rollout
Play
17:21 CC

Feature Rollout

#283 Feb 14, 2021 pro
Using feature flags based on Redis, we can enable and disable access to certain areas of our application. In this episode, learn how to set up this functionality.