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...
The ActiveSupport::BroadcastLogger allows you to log to multiple sinks. You know this behavior from from the rails server command...
Terser is a really good minifier ("compressor") for JavaScript code. I'm often surprised by the thoughtfulness of its compressed...
sudo gitlab-rails console Note This takes some minutes to start Send a mail Use the following...
There are different kind of memory measurement metrics in Linux. These are the differences: Code Name Description vsz virtual memory...
While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...
If you want someone to be able to access your rails console, but don't want them to be able...
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 want to find out what type of network card is used for a given network interface on a...
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...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...
Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...
A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...
Your development server is usually running on an insecure HTTP connection which is perfectly fine for development.
It happens from time to time that a job in a GitLab pipeline fails. Sometimes, however, the error message is...
Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...
This Capistrano task runs a command on all servers. bundle exec cap production app:run cmd='zgrep -P "..." RAILS_ROOT/log/production.log...
You can use pg_repack to do a VACUUM FULL without holding an exclusive lock during processing. There is still...