Strict Locals
Play
9:10 CC

Strict Locals

#388 Feb 12, 2023 pro
Ruby on Rails 7.1 introduces Required Template Arguments w/ Default Values, or Strict Locals. This solves the issue of difficult to reason about dependencies & runtime compilations. In this episode, we look at how Strict Locals can improve the overall maintainability of our Rails partials.

Demystifying the Asset Pipeline
Play
19:47 CC

Demystifying the Asset Pipeline

#387 Feb 5, 2023 free
The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We'll also have a look at some nuances with jsbundling and how to overcome them.

MySQL FULLTEXT Search
Play
18:59 CC

MySQL FULLTEXT Search

#386 Jan 29, 2023 pro
In this episode, we look at implementing full-text search in MySQL. Using some of the built in functions of MySQL, we are able query tables and add weighted results.

Zipping Files
Play
27:21 CC

Zipping Files

#385 Jan 22, 2023 pro
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.

Rails Docked
Play
16:08 CC

Rails Docked

#384 Jan 15, 2023 pro
Docked is a new library which aims to aid in fresh development environments with the use of Docker. In this episode, we use a Steam Deck, to install Docker and by using Docked will have a fully functional Ruby on Rails development environment.