Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
Consider the following models and form models: class Parent < ApplicationRecord has_many :children, class_name: 'Child', foreign_key: 'parent_id...
By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...
I just ran into this deployment error after switching from the asset pipeline to webpack: 01:05 deploy:assets:precompile...
I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...
In case Ruby does not detected the expected encoding of a file automatically you can specify the known encoding manually...
In my experience, the most common sources of memory leaks are APIs like these: addEventListener. This is the most common...
In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...
The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...
When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...
Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...
Whenever requires you to set the application attribute in your Capistrano configuration. Otherwise your cronjobs are created multiple times.
This is an informational site about video and how it works. We started by talking about Playback, next we added...
Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...
Feature Queries (Edge 12+): Similar to @media queries, @supports blocks can be scoped to browsers that support a given declaration...
When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...
Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...
IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...
This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...
Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...
Minidusen lets you find text in associated records. Assume the following model where a Contact record may be associated with...
If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...