A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...
You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...
The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...
In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...
When you find similar groups of expect calls in your tests, you can improve readability by extracting the group into...
If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...
I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.
We regularly have tasks that need to be performed around a deploy. Be it to notify operations about changed application...
Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...
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...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...
Sometimes you'll find yourself with a set of tasks that require similar code for different models. For example, if...
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...
It most cases it's not necessary to add a version constraint next to your packages in the package.json. Since...
It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...
If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...
Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
The rubocop binary has a few interesting flags: rubocop (using the --parallel default ) scans the current repository for linting issues...
tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...