This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
This checklist should help you to check edge cases that are not part of the default Carrierwave configuration.
If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...
Install the latest bundler version: gem install bundler Fetching bundler-2.3.5.gem Successfully installed bundler-2.3.5 1 gem installed Update the bundler...
There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...
Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...
This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...
Normally, Rails handles encryption and signing of cookies, and you don't have to deal with the matter. Should you...
Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...
The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...
There was an issue with makandra_sidekiq < 0.2 concerning the stopping of Sidekiq. Sidekiq < 6 has two finishing timeouts: one...
Most of the time it is a tedious task to apply a code style guide to an existing code...
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...
There are a few ways to access view helpers from the Rails console. The easiest way is the helper shortcut...
You can use constraints in your routes.rb to avoid getting ActionView::MissingTemplate errors when wrong routes are called. Instead, the...
I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
When upgrading Clearance, pay attention whether the password hashing strategy might have changed. Old clearance versions (< 1.0) used SHA1-encrypted...