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.

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.