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.

Testing External Sites
Play
13:21 CC

Testing External Sites

#359 Jul 24, 2022 pro
Sometimes we find ourselves in a situation where we are handling the releases for an important application in our organization, but with each release, a regression/happy path testing must occur. We can use Ruby and Capybara to test these external sites.

Creating Command Line Applications
Play
23:48 CC

Creating Command Line Applications

#309 Aug 15, 2021 pro
As developers, chances are we are in the terminal often. Command Line Interfaces (CLI), are very helpful in streamlining our work. Ruby is a very powerful language and can make some powerful CLIs. Thor is a powerful option, but in this episode, we look at some alternatives from basic to more advanced scenarios.

Avatars
Play
18:10 CC

Avatars

#276 Dec 27, 2020 pro
Learn how to build avatars with initials and conditionally prefer Gravatar images if they exist.