Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
You want to deploy new features but the latest commits are not ready for production? Then use git merge master...
Rails 6.1 has a "strict loading" mode that forces the developer to preload any association they plan to use. Associations...
If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...
Matching the "space" character class For matching whitespaces in a regular expression, the most common and best-known shorthand expression...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...
When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...
Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...
PostgreSQL offers three character types for your columns: character varying(n) (also called varchar or just string): Contents are limited...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
The Ruby standard lib ships with a YAML Parser called Psych. But serializing and deserializing data seems not as obvious...
When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...
From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...
RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...