Episodes

Service Objects for API Interactions with Twilio

Episode #154 10-7-2018 free

In this episode, learn how to extract the interactions with an external API into a service object so that code is isolated and interchangeable.

Bundler and Binstubs

Episode #153 9-30-2018 pro

In this episode, we look at some lesser known bundler commands including binstubs.

Deeper Dive into StimulusJS

Episode #152 9-23-2018 pro

In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.

Safely Running Shell Commands

Episode #151 9-16-2018 pro

We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.

Database, Model and Scopes

Episode #150 9-9-2018 pro

In this episode, we take a look at some tips and tricks around the database schema and model scopes.

Rails Presenters

Episode #149 9-2-2018 free

Separating view logic from bloated models can help maintain the model in the long run.

ActiveRecord Callbacks

Episode #148 8-26-2018 pro

Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.

State Machines with AASM

Episode #147 8-19-2018 pro

State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.

Rails API Documentation

Episode #146 8-12-2018 pro

In this episode, we look at creating an interactive documentation for a Rails API.

Improving Partial Loading Performance

Episode #145 8-5-2018 free

N+1 queries can make an application slow. Having queries called within views can also slow down an app as well as making it less extendable.