Rails Callbacks: What You Should Know
Learn how Rails callbacks work, when they run in the Active Record lifecycle, and when to avoid them for cleaner, safer code.
Read The Full Article →A personal journal of code, questions, and discoveries. Exploring the intersection of logic and creativity.
Learn how Rails callbacks work, when they run in the Active Record lifecycle, and when to avoid them for cleaner, safer code.
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 Concerns work, when to use ActiveSupport::Concern, and when concerns make your Rails app harder to maintain.
Learn how to configure Rails Content Security Policy, use nonces, test in report-only mode, and fix CSP violations step by step.
Learn Rails Active Storage: file uploads, has_one_attached, variants, direct uploads, S3, validations, and production tips.
Learn how the Rails request lifecycle works, from the web server and middleware to routing, controllers, views, and the response.
Learn how Rails autoloading works with Zeitwerk, including naming rules, eager loading, namespaces, and fixing NameError.
Learn how Rails scopes make Active Record queries cleaner, reusable, and easier to maintain with practical examples.