Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to...
We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...
Fix an error being thrown when a caching request is tracking an existing request to the same URL, and...
While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...
esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...
Rails' default logger prefixes each log entry with timestamp and tags (like request ID). For multi-line entries, only the...
With this command you can run all the spec files which have been edited or added in the current branch...
I recently stumbled over a quirk in the way Ruby handles local variables that I find somewhat dangerous. Consider:
I was recently asked to optimize the response time of a notoriously slow JSON API endpoint that was backed by...
While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
This card shows an uncommon way to retrieve a file using selenium where JavaScript is used to return a binary...
You might know a few examples, where you configure some library via a block. One example is the Rails configuration...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
Raising errors for required and permitted attributes makes it easier to find errors in your application during development and in...
Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...
This card describes two variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly.
Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...
Debugging performance issues in your Rails app can be a tough challenge. To get more detailed insights consider using the...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...
tl;dr Prefer request specs over end-to-end tests (Capybara) to joyfully test file downloads! Why? Testing file downloads