While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
Ever needed to migrate data between Redis instances? Give RIOT - Redis Input/Output Tools a try. It supports migration to different...
The ActiveSupport::BroadcastLogger allows you to log to multiple sinks. You know this behavior from from the rails server command...
Starting with ChromeDriver 127, if your application displays a beforeunload confirmation dialog, ChromeDriver will immediately close it. In consequence, any...
esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...
Rails' default logger prefixes each log entry with timestamp and tags (like request ID). For multi-line entries, only the...
With this command you can run all the spec files which have been edited or added in the current branch...
Rails credentials are a way to store secrets in an encrypted YAML file. Usage is simple: each key in the...
You are given two CSS selectors that you do not control. How can you build a new selector that matches...
There are different kind of memory measurement metrics in Linux. These are the differences: Code Name Description vsz virtual memory...
Sometimes we have to write code that behaves differently based on the version of a specific gem or the Ruby...
While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
Add apt source: apt update -y && apt install -y gpg sudo wget curl sudo install -dm 755 /etc/apt/keyrings
When Rails releases a new version of their gems, they also release a number of npm packages like @rails/activestorage or...
Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...
Running gem update --system will install the latest version of RubyGems. However the latest version might not be compatible with...
This cards describes an example with a Github Client on how to keep your Rails application more maintainable by extracting...
After an upgrade to rails 7 I noticed that async reindexing jobs of Searchkick were failing for Model.reindex(mode: :async...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
tl;dr When browsers start to adapt proposals from Open UI, it might not be necessary to use any 3rd...
Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...