Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).
When you send automated emails from a noreply@-address, and the recipient has an out of office enabled, the autoreply...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...
The key to unlocking the full potential of LLMs in coding lies in crafting precise prompts. The main challenge is...
Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background
tl;dr When a cookie includes an Expires attribute or an HTTP response includes caching headers like Expires or Cache...
When Ruby objects are inspected in any modern IRB, some objects (like ActiveRecord instances) are rendered with neat colors and...
Capistrano 3 has a doctor task that will print information about Environment: Ruby, Rubygems and Bundler versions List of Capistrano...
YJIT is Ruby's default just-in-time compiler. It is considered production-ready since Ruby 3.2 (source).
When using Rails credentials, you will edit the encrypted credentials for staging or production environments from time to time. To...
While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
When handling nested hashes the RSpec output is often hard to read. Here the gem super_diff could help.
This talk shows simple and advanced usages of the ruby/debug debugger. It goes through a step by step debugging workflow...
The ActiveSupport::BroadcastLogger allows you to log to multiple sinks. You know this behavior from from the rails server command...
Rails' default logger prefixes each log entry with timestamp and tags (like request ID). For multi-line entries, only the...
testing-library are widely used testing utilities libraries for javascript dependent frontend testing. The main utilities provided are query methods...
While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
Using Capistrano, we usually have some array configurations in the config/deploy.rb file, like set :linked_files, %w[config/database.yml], so in...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
What is makandra cards? We are makandra, a team of 60 web developers, DevOps and UI/UX experts from Augsburg, Germany...
Postgres works differently See PostgreSQL: Difference between text and varchar columns for PostgreSQL-specific info MySQL has 4 different column...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...