Bootstrap v5
Play
14:05 CC

Bootstrap v5

#287 Mar 14, 2021 pro
We look at 4 different ways to add Bootstrap v5 to our Rails application. Depending on your application's direction, you may choose the appropriate route; Webpacker, the Bootstrap gem, CDN or Hotwire + yarn.

SOLID - Single Responsibility Principle
Play
7:00 CC

SOLID - Single Responsibility Principle

#198 Jul 14, 2019 pro
A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class.

Rails 7 API Application
Play
24:57 CC

Rails 7 API Application

#396 Apr 9, 2023 pro
In this episode, we look at setting up a Rails 7 API (only) application and create our own authentication solution. We'll also write the tests around the different controller endpoints that we create to make sure that we have good test coverage and functionality.

SOLID - Open/Closed Principle
Play
5:09 CC

SOLID - Open/Closed Principle

#199 Jul 21, 2019 pro
Open/Closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"; that is, such an entity can allow its behaviour to be extended without modifying its code.

Safely Running Shell Commands
Play
8:26 CC

Safely Running Shell Commands

#151 Sep 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.