After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...

Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...

In case your integration tests crash with a message like below, try to upgrade Capybara to a newer version (3.35.3...

Capybara added a deprecation warning in version 3.35.3 (version from 2019) that shows up if your selector is not of...

The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...

makandra dev

6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...

We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...

moncefbelyamani.com

The linked article points out that COUNT queries might be unexpectedly slow in PostgreSQL. If you just need to know...

When giving a presentation where you do some coding, the font size you usually use is probably a bit too...

When testing JavaScript functionality in Selenium (E2E), you may need to access a class or function inside of a evaluate...

I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...

Matching the "space" character class For matching whitespaces in a regular expression, the most common and best-known shorthand expression...

makandra dev

While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...

rspec.info

rspec >= 3.1 brings a method and_wrap_original. It seems a bit complicated at first, but there are use cases...

When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...

Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...

makandra dev

You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...

makandra dev

When a Ruby version gem has a letter in its version number, it is considered a pre-release:

The usual way to build a relation in a ActiveSupport::Concern is this: module MyModule extend ActiveSupport::Concern

jetbrains.com

In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...

When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...

When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...

If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...

To run additional code before an existing Rake tasks you can add a dependency like this: task :before_task...