How Rails Autoloading Works With Zeitwerk
Learn how Rails autoloading works with Zeitwerk, including naming rules, eager loading, namespaces, and fixing NameError.
Read The Full Article →A personal journal of code, questions, and discoveries. Exploring the intersection of logic and creativity.
Learn how Rails autoloading works with Zeitwerk, including naming rules, eager loading, namespaces, and fixing NameError.
Read The Full Article →Learn what monolithic architecture is, how it works, and why it’s a great choice for beginners building simple, fast apps.
CSS drove me crazy; broken layouts, mystery spacing, and a button that floated away on its own. Here's what finally made CSS click
Developers obsess over speed—but patience may be the most underrated skill in software engineering.
Learn how Rails scopes make Active Record queries cleaner, reusable, and easier to maintain with practical examples.
Learn how Rails cache keys work, including cache_key, cache_key_with_version, fragment caching, and cache invalidation.
Learn the difference between pluck and select in Rails, what SQL each generates, and when to use them in Active Record queries.
Learn when to use find_each vs. each in Rails, how batching works, and how to process large datasets without memory issues.
Learn the difference between Rails joins and left_joins, how each generates SQL, and how to avoid common query mistakes.
Learn how Rails Credentials work: encrypt secrets, secure your master key, and manage config safely in development and production.