If you’ve ever encountered a situation where your Rails model associations work perfectly in the console but mysteriously fail in your test suite, you’re not alone. I recently ran into this exact issue and wanted to share the solution along with some insights about Rails’ autoloading behavior.
…Welcome back to my series on “The Effective Engineer” by Edmond Lau. In the previous posts, I introduced the key themes of the book, discussed the importance of prioritization, and explored leveraging tools and technology. Today, I’ll delve into another critical theme: the importance of quick iteration and continuous learning.
…Welcome back to my series on “The Effective Engineer” by Edmond Lau. In the previous posts, I introduced the key themes of the book and discussed the importance of prioritization. Today, I’ll delve into another crucial theme: leveraging tools and technology to amplify your productivity and impact.
…When developing applications using Rails, efficient database interaction is crucial for maintaining high performance. ActiveRecord provides several methods to optimize database queries. In this post, we’ll explore how using specific ActiveRecord methods can significantly improve the performance of your Rails applications.
…Dotfiles are configuration files for applications and shell environments, often prefixed with a dot (.), making them hidden by default. Managing these files across different systems can be challenging. GNU Stow helps by creating symbolic links from a central directory (usually a Git repository) to the appropriate locations in your home directory.
…Welcome back to my series on “The Effective Engineer” by Edmond Lau. In my first post, we introduced the key themes of the book and discussed why becoming an effective engineer matters. Today, we’ll dive deep into the first and perhaps most crucial theme: Prioritization.
…