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.

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.

Friend Requests From Scratch
Play
14:59 CC

Friend Requests From Scratch

#155 Oct 14, 2018 pro
Part I - In this episode, we create our authentication for users, default view for authenticated users, friendship model, associations and scopes for our social media application.

Search Encrypted Attributes with Blind Index
Play
9:04 CC

Search Encrypted Attributes with Blind Index

#139 Jun 24, 2018 pro
Keeping client data protected is important, but once an attribute is encrypted, it becomes difficult to work with it. With Blind Index, we regain functionality on searching and validations.