I mostly write about tech I find interesting, or want to log my discoveries for my future self and others.View All
Rails 6 introduced a new autoloader called Zeitwerk. While it has many many improvements, one of the main changes is how strict it is with filenames and the constants they define. Unless you have full coverage on your application (few apps actually reach 100%) it can be quite ...
I found myself with an odd scenario the other day where I needed to render a rails partial (using HAML with some templates, styles, and a layout) from within an API controller. Rails API controllers by design do not have the capability to render anything other than JSON in ...
Over the last few years I've started to become a lot more aware of various carbon emissions created by myself and the people around me. From non obvious things like the food we eat, to the worst offenders such as travelling. In the 21st century it's increasingly hard to not ...