Method delegation in Rails can help you to keep your code organized and avoid deep call chains (law of demeter...

Hint If you are using our opscomplete.com hosting we can set all environment variables mentioned below for your deployment on...

If you need to pre-generate a scram-sha256 password hash for use with postgres, e.g. for using it with...

In Slack, the settings dialog only offers a fixed selection of fonts. You can use any font you like using...

With Ubuntu 24.04 it's not longer possible to setup FDE with BTRFS The new installer won't offer you...

developer.mozilla.org

Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to...

Canonical does not ship Ubuntu 24.04+ Vagrant images due to HashiCorps switch to the Business Source License (BSL). There is...

makandra dev

I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...

When using Rails credentials, you will edit the encrypted credentials for staging or production environments from time to time. To...

On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...

makandra dev

While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...

If you want someone to be able to access your rails console, but don't want them to be able...

If you want to find out what type of network card is used for a given network interface on a...

Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...

Sometimes you have a file that is related to a project, while not actually being part of it. You'd...

Ruby methods which load from a Yaml file, like YAML.safe_load or YAML.safe_load_file, support passing freeze: true to...

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...

You can use the config.x configuration in combination with config_for to configure global settings for your Rails 4.2+ application...

Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...

#pluck is commonly used as a performant way to retain single database values from an ActiveRecord::Relation Book.pluck(:title, :price...

Added: State machine can now use the :prefix-option to avoid name collision if you define multiple state machines on...

While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...

selenium.dev

I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.