-
JWT Auth in Rails 6 with Knock
This post explains how to set up and use the knock gem for JWT auth in your Rails 6 API. Currently, the whole knock situation is a bit confusing. From what I can tell, a new maintainer took over (thank you!) and is trying to get a solid release out the door, the first in three years. Unfortunately, the existing docs and blog posts available on knock are sometimes unclear or outdated. But I figured out how to get things working in Rails 6, and now you can, too.
-
My Favorite Mac Apps After Two Years
Around the beginning of 2018, I made the switch to using a MacBook for virtually everything I do. I had been a fan of the iPhone for some time and after a long history with Linux and Windows, I developed an interest in giving the Mac a try. Since then, I’ve been using a MacBook Pro pretty much exclusively.
Over two years later, here’s a list of the apps that made it onto my MacBook and stayed.
-
Quick and Clear Polymorphic Has Many Through Associations in Rails
This weekend I spent too long trying to get the Internet to tell me how to set up a polymorphic
has_many :through
relationship in Rails. The official docs don’t go into this topic. It took me a bit to put the pieces together, so I’m sharing here for posterity. -
Fast, Git-Backed, Markdown Notes in Vim with notational-fzf-vim
Like many developers, I like to take notes during the day. And like many developers, I spent a lot of time trying out different apps and systems for notetaking, especially during the last couple years. I’ve tried vimwiki, OneNote, Bear, Gollum, Notion, you name it. Today I’m going to share the system I’m using now, and what my requirements were.
-
Intro
2020 has been a hallmark year for me. Continuing that trend, I’ve decided to start blogging again. It has been many years since I blogged. I was a young man then, spry, and filled to the brim with strong opinions on topics with which I had a nebulous understanding. Now, going on twenty-seven, the sun is beginning to set on my youth as I transition into my second year paying for health insurance. The season for commissioning an enchanted painting is passing me by. Heavy falls the veil of twilight years.