Search (reset)

Episodes

Deeper Dive into StimulusJS

Episode #152 9-23-2018 pro

In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.

Database, Model and Scopes

Episode #150 9-9-2018 pro

In this episode, we take a look at some tips and tricks around the database schema and model scopes.

ActiveRecord Callbacks

Episode #148 8-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.

Search Encrypted Attributes with Blind Index

Episode #139 6-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.

Blockchain in Ruby on Rails

Episode #128 4-8-2018 pro

In this episode, we look into creating a blockchain as well as proof of work for car maintenance tracker application. Blockchain is used to establish a trust that records have not been tampered with.

Polymorphic Associations

Episode #98 9-17-2017 free

Advancing from Single Table Inheritance, learn how Polymorphic Associations differ and tricks to simplify their usage.

Single Table Inheritance

Episode #97 9-10-2017 free

Learn to use single table inheritance to allow multiple classes to be stored in the same database table.

Counter Cache Associations

Episode #78 5-1-2017 free

When displaying a count of records, this will generate extra SQL Queries. Learn how to reduce the number of SQL queries called with counter caching the number of associated records.

Eager Loading with Goldiloader

Episode #30 5-23-2016 free

Wouldn't it be awesome if ActiveRecord didn't make you think about eager loading and it just did the "right" thing by default? With Goldiloader it can!

Deleting and Undeleting with Paranoia

Episode #19 10-7-2015 free

When your app is using Paranoia, calling destroy on an ActiveRecord object doesn't actually destroy the database record, but just hides it.