Oct 30, 20266 min read100DaysToOffloadRubyRuby Method Objects: How do we store a method in a variable?In Ruby, putting a method in a variable runs it immediately. Let's understand how method objects help in holding that method for later.
Oct 21, 20269 min read100DaysToOffloadRubyRuby Blocks, Procs, and LambdasA first-principles understanding of how Ruby passes, stores, and executes code blocks using Procs and Lambdas.
Aug 31, 20263 min readRubyProgramming100DaysToOffloadDifference between load, require, and require_relative in RubyA handy note on when to use load, require, and require_relative in Ruby.
Jun 30, 20266 min readRubyRackRuby on RailsWriting Middleware in RailsUnderstanding Rack middleware and how to configure it in a Rails application.
Jun 2, 202611 min readRubyRackRuby on RailsUnderstanding Rack: The Interface Between Ruby Web Servers and FrameworksLearn why Rack was created, how the Rack protocol works, how middleware fits into the request-response cycle, and build a small Rack application from scratch.