A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch
In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...
Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...
If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...
Creating Nagios Config with puppet Let's have a look at the classic way of managing Nagios configuration with exported...
If you want to automatically delete old container images from your Elastic Container Registry, the solution is a quite simple...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
On the Rails console, assigning an object to a variable can lead to this strange error (without stacktrace): irb > recipient...
TLDR Using .includes or .eager_load with 1-n associations is dangerous. Always use .preload instead. Consider the following ActiveRecord...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...
Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
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...
Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...
Context and further resources Even though you can get 90% of debugging done with up to 5 basic byebug commands...
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 asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...