Also see the list of IRB commands. Switching the context Changes the "default receiver" of expressions. Can be used to...
With Ubuntu 24.04 it's not longer possible to setup FDE with BTRFS The new installer won't offer you...
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...
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...