Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...
An introduction to mangling When you minify ("compress", "optimize") your JavaScript for production, the names of your functions and variables...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
As we are slowly switching from Cucumber scenarios to RSpec feature specs, you might be tempted to write assertions like...
With this Ruby script you can print all values in a Redis database to your console (derived from this bash...
I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was...
Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...
When you allow file uploads in your app, a user might upload content that hurts other users. Our primary concern...
Every Rails response has a default ETag header. In theory this would enable caching for multiple requests to the same...
tl;dr Individual transform properties are great because they allow you to write more readable and maintainable CSS, especially when...
Sidekiq 7 adds a new feature called capsules. Use cases: a chrome queue limited to 1 for e.g. PDF processing...
I found the linked article very helpful to refresh my understanding of database indexes. As a small bonus, it includes...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
Sometimes, the rails dev server doesn't terminate properly. This can for example happen when the dev server runs in...
After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...
You have some SVG files you want to use as icons on your website. How would you embed them?
If you're experiencing that your bundle install command fails with an error message like this, rubygems.org might...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote...