esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...
Using the default Rails logger with an plain text output does not work well with multi line logs. Try to...
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...
Unpoly enhances your HTML with new attributes to build dynamic UI on the server. It works with any language and...
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
It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...
I recently built a screen with a very high and wide table in the center. This posed some challenges:
I, [2024-01-21T06:22:17.484221 #2698200] INFO -- : [4cdad7a4-8617-4bc9-84e9-c40364eea2e4] test
Version 3.7.0 broke some things in complex forms. Sorry for that. Concurrent user input is hard. 3.7.1 This change fixes...