Episodes
Safely Running Shell Commands
Play
8:26

Safely Running Shell Commands

#151 Sep 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
Play
15:36

Database, Model and Scopes

#150 Sep 9, 2018 pro
In this episode, we take a look at some tips and tricks around the database schema and model scopes.

ActiveRecord Callbacks
Play
12:26

ActiveRecord Callbacks

#148 Aug 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
Play
12:20

State Machines with AASM

#147 Aug 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
Play
15:18

Rails API Documentation

#146 Aug 12, 2018 pro
In this episode, we look at creating an interactive documentation for a Rails API.