Introduction to GraphQL
Play
17:38 CC

Introduction to GraphQL

#119 Feb 11, 2018 pro
GraphQL is a query language for your API. In this episode, we will look at adding GraphQL to our Ruby on Rails application and seeing how we can pull down data and create records.

Refactoring Models
Play
7:15 CC

Refactoring Models

#161 Nov 25, 2018 pro
Sometimes our models get so large that they become unmaintainable. In this episode, we look at how we can slim down the size of the models without losing functionality.

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.

Database, Model and Scopes
Play
15:36 CC

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 CC

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.