Episodes
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.

Friend Requests From Scratch
Play
14:59

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.

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.

Activity Feed with Public Activity
Play
13:27 CC

Activity Feed with Public Activity

#159 Nov 11, 2018 pro
Add an activity feed to your application with Public Activity.

Search Encrypted Attributes with Blind Index
Play
9:04

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.