writing ≠ thinking
Rails 7 introduced support for application-level encryption, and here I’ll show how to write an RSpec test to ensure an attribute is encrypted, as well as explore some parts of ActiveRecord’s encryption API.
This is a demo of how to order search results in ActiveRecord using the ActsAsTaggable gem combined with a ‘fuzzy’ search via Postgres’ built-in trigram support.
Brief walkthrough of implementing “demo mode” in Mezzi, and how it limits access to ActionCable for anonymous users.
As users, we are left to contend with the choice of withdrawal or acceptance.
Pre-mortems can be helpful but often lack structure. Polling your team to find out what could go wrong can backfire.
The two most important factors in breaking down an opportunity are controlling for variables and controlling for time.
Unplanned work is not a roadblock to a good working relationship, but be mindful of you go about resolving these kinds of conflicts.
Sharing ownership of an app’s codebase is easier than ownership of its configuration. The biggest impediment is failing to understand the dynamic between development teams and operations.
Wondering why your Rails logs are reporting the wrong Remote IP on your hosted cloud platform? This explains trusted proxies and how to configure Rails the right way.
What is the shelf-life of your codebase, and what changes would you make if it was cheap to throw it all away?