There is a gem puppet-ghostbuster which can help you find dead code in puppet projects. To use it, (as...

support.google.com

The old Chrome downloads bar had several advantages over the new subtle downloads dropdown: see all (many, at least) downloads...

While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...

TLDR Using .includes or .eager_load with 1-n associations is dangerous. Always use .preload instead. Consider the following ActiveRecord...

In the discussion of the difference between include and extend in Ruby, there is a misconception that extend would add...

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

Given you have an array column like this: create_table "users", force: :cascade do |t| t.integer "movie_ids", default: [], array...

It's not possible to change the bwlimit of Proxmox storages via the Web-UI (at least in Proxmox 7...

thegnar.com

View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...

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

ruby-doc.org

Do you remember finding where a method is defined? I recently learned from a senior colleague that Method objects are...

By default, Devise sends all emails synchronously with deliver_now. To change that, Devise's readme suggests overwriting the send...

Browsers can auto fill-in one time codes if advised. Use it like this: Demo: https://twitter.com/sulco/status/1320700982943223808 Browser support...

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

The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...

makandra dev

There are multiple ways to redirect URLs to a different URL in Rails, and they differ in small but important...

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

Rails' Strong Parameters enable you to allow only specific values from request params to e.g. avoid mass assignment.

Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...

An introduction to mangling When you minify ("compress", "optimize") your JavaScript for production, the names of your functions and variables...

Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...