The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...
Some users might use Adblock Plus or similar browser plugins to reduce the number of ads displayed. If you run...
I sometimes had the issue that I received an error when starting an existing vagrant box with vagrant up:
Similar to the Webpack Bundle Analyzer, Chrome's new Lighthouse feature … … shows a visualisation of your JavaScript bundles. It's...
From Exploring ES6: Module imports are hoisted (internally moved to the beginning of the current scope). Therefore, it doesn’t...
Rails 6.1 has a "strict loading" mode that forces the developer to preload any association they plan to use. Associations...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
Basic validations Read the Rails Guide on ActiveRecord Validations. You should have an overview which kinds of validations are built...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
RSpec is smart when using the include-matcher in combination with .not_to. One could assume that .not_to include...
You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...
The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...
Event delegation is a pattern where a container element has a single event listener that handles events for all descendants...
Sometimes a link or input field has no visible label. E.g. a text field with a magnifying glass icon 🔎 and...
Besides their default styling properties, HTML elements have a semantic meaning. For example, an h1 tag is usually styled with...
Most browsers have built-in drag and drop support for different page elements like text and images. While this may...
git --fixup is very handy to amend a change to a previous commit. You can then autosquash your commits with...
We are using Spring in our tests for sequential test execution but not for parallel test execution. And Rails requires...
Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...
With cd .. you can navigate one directory up from the one you are at now. If you use that a...
The tree command will show you the contents of a directory and all its sub directories as a tree:
There is an option you can set so that when using the cd command, small typos are automatically corrected. Add...
age is a simple, modern and secure file encryption tool, format, and Go library. It features small explicit keys, no...
Rails has the handy controller method send_file which lets us download files easily. We can decide whether the file...