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.

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.

Friend Requests Views, Controllers, and Model Methods
Play
18:12 CC

Friend Requests Views, Controllers, and Model Methods

#156 Oct 21, 2018 pro
Part II - In this episode, we create performant links for adding, accepting/rejecting and removing friends for our social media application.