Find Missing Associations in Rails

How to find orphaned records and missing associations via the Rails console in Rails 6

code
16 Jan 23

Filtering Jekyll Posts by Category

How to filter Jekyll posts based on a specific category, tag, or any other array or in the front matter (also works with substrings).

code
2 Oct 22

Jekyll Components with Nokogiri

Building re-usable and configurable components for Jekyll sites using Nokogiri and Liquid block plugins.

code
2 Sep 22

Private Posts in Jekyll

How to set specific Jekyll posts to private so they only get published on local or private servers.

code
14 Aug 22

Vim Indentation

Guide for converting space indented files into tabs and vice versa when using vim. Includes a description of vim's indent related commands and options such as noexpandtab and tabstop.

code
3 Aug 22

Ruby Nil vs Empty vs Blank vs Present

What is the difference between Ruby's Nil, Empty, Blank, and Present? Features a concise description of each method with examples, a compare table, and some questions for testing your knowledge.

code
26 Jul 22