Search (reset)

Episodes

Database Encoding

Episode #264 10-18-2020 pro

In this episode, we look at the encoding and some problems that an older Ruby on Rails application may face when it comes to storing emojis and how to fix them.

StimulusJS, Active Storage and DropzoneJS

Episode #263 10-11-2020 pro

DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews. It's lightweight, highly customizable and doesn't have any dependencies.

Benchmark Ruby Code

Episode #262 10-4-2020 free

It's easy to accidentally write slow code in our applications. In this episode, we look at how we can benchmark our code and examples of some methods which are slower than others.

Testing Stripe Payments

Episode #261 9-27-2020 pro

Continuing from the previous episode, we add testing to the Stripe Payments without adding any additional dependencies.

Stripe Payments

Episode #260 9-20-2020 pro

The past tutorials look at creating subscriptions with Stripe, but in this episode, we look at using Stripe for a cart-like checkout system where nonrecurring orders can be placed.

PostgreSQL Hstore

Episode #259 9-13-2020 pro

The hstore data type is very useful in many cases, such as semi-structured data or rows with many attributes.

GitHub Actions

Episode #258 9-6-2020 free

GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. In this episode, learn to set up GitHub Actions on your Ruby on Rails application with automated tests, code coverage reporting, and security testings.

Using CloudFlare CDN

Episode #257 8-30-2020 pro

A look at serving the static assets within your Ruby on Rails application with the CloudFlare CDN. A broad look at the different configuration options and setting it up to serve image, javascript, HTML, and CSS assets.

Active Storage Uploads Behind a CDN

Episode #256 8-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.

Bulk Upload with Active Storage

Episode #255 8-16-2020 pro

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.