Elixir and the Wall of Tests

Here’s an experience I tend to have over and over: Generate a new Elixir / Phoenix project Use the super cool Phoenix generators to make a new model Change the model substantially Realize that the tests generated with the model are now super broken When I get into this situation running mix text produces aContinue reading “Elixir and the Wall of Tests”

UUIDs for User IDs

Integers By Default 🔢 Phoenix’s generators save a ton of time writing boilerplate code. Pow is an Elixir package and Phoenix extension that offers a great way to get user authentication up and running in very little time. But by default Phoenix’s generators use auto-incrementing integers for user IDs. What’s Wrong with Integer IDs 🤔?Continue reading “UUIDs for User IDs”