Soulful code

Here we look at the deeper meaning of code.

Taggable Array

In an attempt to keep things stupidly simple, I had issues choosing tags for my array column tags.  Every library I tried expects me to be more complex, so I "rolled my own™
Mikael Henriksson
4 minute(s)

Turbo confirm

Turbo modal's can be a sweet addition to your rails app. Let's go over how to get everything working and use them as a turbo confirm
Mikael Henriksson
3 minute(s)

I am soft and recursion is hard

MongoDB 2.x has few possibilities for data extraction, and I need to make some changes to be able to load it into PostgreSQL. Recursion was the last thing on my mind 🤷‍♂️
Mikael Henriksson
4 minute(s)

Client side rate limiter

Sometimes you have to get ahead of things. Rate limits suck but are there for a reason, waiting until the API you are calling raises a rate limit error is bad, really bad. This is how you get ahead and prevent the external API from raising rate limit errors.
Mikael Henriksson
6 minute(s)

Serving custom fonts with cssbundling-rails

 I wanted a custom font to use for my website. While loading fonts using google fonts is possible, I want to reduce the number of external dependencies as much as possible and this is how I did it. 
Mikael Henriksson
4 minute(s)