Implementing attr_checked from Metaprogramming Ruby
Implement the attr_checked pattern from the Metaprogramming Ruby book — dynamic attribute validation using define_method, modules, and callbacks.
Implement the attr_checked pattern from the Metaprogramming Ruby book — dynamic attribute validation using define_method, modules, and callbacks.
Understand the risks of Ruby's dynamic nature — methods that fail only at runtime, how to mitigate them with tests and static analysis, and what this means for production code.
How to configure Nginx as a reverse proxy for a Rails application — local
A real-world debugging story: fixing a Capistrano deploy failure caused by a gem major version bump, with lessons on dependency management and semantic versioning.
Diet and sleep are two of the most fundamental pillars of health — and they're deeply interconnected. What you eat affects how you sleep, and how you sleep a...
An honest assessment of Ruby as a programming language — its strengths in expressiveness and developer happiness, its performance trade-offs, and where it fits in 2026.
Use Rails callbacks to maintain data consistency across associated models — automatic OrderItem creation, cascade deletion, and avoiding callback hell.
Understand the difference between ActiveRecord::Relation and model objects in Rails — lazy loading, query chaining, and when to use find vs where.
How to avoid duplicate HTML element IDs in Rails when rendering multiple forms on the same page — using the namespace option and modern form helpers.
Learn how to send GET, POST, PUT, DELETE and other HTTP requests from the browser console using native JavaScript, including the Fetch API and XMLHttpRequest.