It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...
Formerly 301 (Moved Permanently) and 302 (Found) were used for redirecting. Browsers did implement them in different ways, so since...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
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...
To attach files to your records, you will need a new database column representing the filename of the file...
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...
The ActionDispatch module of Rails gives you the helper method flash to access the flash messages in a response.
capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...
CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...
A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...
If your project depends on an old version of ImageMagick that you can no longer install in your system, you...
You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...
When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...
By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...