Search (reset)

Episodes

Activity Feed with Public Activity

Episode #159 11-11-2018 pro CC

Add an activity feed to your application with Public Activity.

Nested Comments from Scratch

Episode #157 10-28-2018 pro

Using polymorphic associations, we can have comments assigned to a post as well as comments assigned to other comments.

Friend Requests Views, Controllers, and Model Methods

Episode #156 10-21-2018 pro

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

Friend Requests From Scratch

Episode #155 10-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.

Bundler and Binstubs

Episode #153 9-30-2018 pro

In this episode, we look at some lesser known bundler commands including binstubs.

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.

Safely Running Shell Commands

Episode #151 9-16-2018 pro

We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.

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.

State Machines with AASM

Episode #147 8-19-2018 pro

State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.