Articles about development
My beef with Tailwind UI
I like Tailwind UI. I like the aesthetics, the clearly well-thought out ideas that has gone into it, and I am in awe of the business it has spawned. Massive kudos to the Tailwind team. However, I have some things I need to get off my chest.
Webpacker 6 conflicts with .br extensions
TLDR; if rake assets:precompile
gives you ERROR in Conflict: Multiple assets emit different content to the same filename js/.br
you probably need to upgrade Webpacker.
How to use a different database for each branch in Rails
Nate Berkopec asked on Twitter:
With a Rails app, how do you manage switching between a bunch of different branches that have different DB schemas/migration states? Blowing away the whole DB every time gets old fast.
I agree, it does get old fast, but luckily Ruby and Rails has the building blocks necessary to help us out.
I still remember my first email address. I had it before we even had internet access at home, so I rode my bicycle 8 km to reach the local library where I could read and send email. Being connected to the world like that was… well, magic almost.
How to upload multiple files to a Rails model
With the advent of ActiveStorage uploading files to your Rails application has become easier than ever. However, we recently encountered a blind spot; how to upload more than one file in a user-friendly manner.
How to be a decent technical lead
Some thoughts on what it means be a technical lead on a team, whatever you call yourself a CTO or team lead or senior developer or something else.
How to fix a mysql2 gem install problem
This is one of those posts that’s written as my extended memory. I ran into an issue trying to install the mysql2 gem on a client project today running MySQL 5.6 (yeah yeah, I know). The root issue wasn’t immediately obvious, but I managed to find a workaround.
GitHub pull request suggestions considered harmful
I recently started working with a development team that uses GitHubs “Insert a suggestion”-feature heavily during the pull request review process.
Don't localise your code
English isn’t my first language. None of my customers are native english speakers. All of my coworkers speak danish.
But for some reason we write our code in english - and I’d argue this is a good thing.
Building features iteratively
Many customers find hard to release something that they know to not be completely, 100% done. Yet, that is exactly what iterative, agile development asks you to do.
Avoiding The Big Rewrite
All software projects trend towards The Big Rewrite.