TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...
It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
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...
When you need to know how a BIOS screen in a Lenovo Laptop works without actually booting into the BIOS...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...
In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...
Ruby offers monkey patching methods in order to change the behavior of a library if there's no better way...
In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...
Why improve your code reviews? Improving code review technique helps your reviewer, your team, and, most importantly: you.
If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...
Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...
Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...
A flat folder structure can be cool if you have only a few folders but can be painful for huge...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
We use Sentry to be informed about different kinds of issues. One of the key features is that you are...
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...
In a web application you sometimes have tasks that can not be processed during a request but need to go...