This Capistrano task runs a command on all servers. bundle exec cap production app:run cmd='zgrep -P "..." RAILS_ROOT/log/production.log...

In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels pipelines with jobs...

makandracards.com

A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch

makandra dev

Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...

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...

Most of our applications use CarrierWave for file uploads. CarrierWave has an integrated processing mechanism for different file versions with...

The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...

We regularly have tasks that need to be performed around a deploy. Be it to notify operations about changed application...

rspec.info

Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...

ruby-doc.org

Do you remember finding where a method is defined? I recently that Method objects are quite useful within a debugging...

github.com

The linked rbenv plugin rbenv-each is very helpful to keep QoL gems up to date that are not part...

You don't want sensitive user data in your logs. Background Rails per default filters sensitive data like...

Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...

github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

Rails' url_for is useful for generating routes from a Hash, but can lead to an open redirect vulnerability.

When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips

When RubyMine reports Rubocop returning "exit code -1", upgrading Rubocop can be the fix: gem install rubocop "The logs" can...

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...

Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...

jacopretorius.net

You can use rake --where task to find the source location that defines task: bundle exec rake --where assets:precompile...

As we are slowly switching from Cucumber scenarios to RSpec feature specs, you might be tempted to write assertions like...