Rails supports alert and notice as default flash types. This allows you to use these keys as options in e.g...
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...
The ExceptionNotification has plugins that talk to external APIs rather then just sends emails, like microsoft teams or slack. You...
Ruby offers monkey patching methods in order to change the behavior of a library if there's no better way...
In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...
TinyMCE is a WYSIWYG editor which is quite customizable. Add a custom button to the tinyMCE toolbar and tell tinyMCE...
When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...
Ruby's String#split returns an array of substrings from the given string. Usually, this is missing the split characters...
Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...
SSHKit 1.9.0 might fail with the following error, when trying to deploy a Rail application. Upgrading the gem to version...
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...
Liquid Prompt gives you a nicely displayed prompt with useful information when you need it. It shows you what you...
When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...
Why improve your code reviews? Improving code review technique helps your reviewer, your team, and, most importantly: you.
Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...
In the tab where you need it, open Chrome DevTools with F12, open settings with F1, scroll down to the...
IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...