Deploying to Amazon Linux 2
Play
31:02 CC

Deploying to Amazon Linux 2

#285 Feb 28, 2021 pro
I recently upgraded Drifting Ruby's site from Ruby 2.6 to Ruby 2.7 as part of some general maintenance. The Beanstalk instance was using an older version of Amazon Linux. During the upgrade process, I discovered that it wasn't a simple transition. In this episode, we look at the discovery path and how to successfully deploy your Ruby on Rails application to AWS Elastic Beanstalk with Amazon Linux 2 and Ruby 2.7.

Seed like a Pro
Play
19:05 CC

Seed like a Pro

#284 Feb 21, 2021 pro
Seeding your database is often an overlooked part of development and it has a lot of benefits that can help uncover issues within your application. However, maintaining the seeds.rb can be difficult and things can get out of hand quickly. In this episode, learn how to manage and maintain the seeds file.

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.

Purge Orphaned Active Storage Records
Play
11:13 CC

Purge Orphaned Active Storage Records

#281 Jan 31, 2021 pro
Over time, orphaned records can build up within Active Storage. In this episode, we look at a few approaches to clean up these orphaned records.

Cropping Active Storage Uploads
Play
20:06 CC

Cropping Active Storage Uploads

#280 Jan 24, 2021 pro
Cropping images can be hard and there can be quite a few complications. In this episode, we have a look at using StimulusJS to crop images uploaded through Active Storage.