You can scale background images in CSS to the container size using background-size (Demo). Commonly, we use contain or...
When using custom properties in your stylesheets, you may want to set a specific property value to an existing variable...
Formerly 301 (Moved Permanently) and 302 (Found) were used for redirecting. Browsers did implement them in different ways, so since...
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...
We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...
When testing JavaScript functionality in Selenium (E2E), you may need to access a class or function inside of a evaluate...
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...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...
To attach files to your records, you will need a new database column representing the filename of the file...
Ruby 3.0 introduced a breaking change in how it treats keyword arguments. There is an excellent blog post on the...
When your application is open for public sign up and sends out transactional e-mails to a large number of...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
The ActionDispatch module of Rails gives you the helper method flash to access the flash messages in a response.
The linked article shows that there are unclear parts in the JSON specification and that different parsers treat them differently...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...
tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...