Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...
While deploying an Ruby update to an old application these days, we encountered the following misleading error: *** [err :: some-host.makandra.de] You...
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
Class-level process definitions are only applied to the original file Versions are generated based on the processed original file...
Bundler 2 requires at least Ruby 2.3.0 and RubyGems 2.5.0. You might get the following error when you try to...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...
When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...
Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...
Percent Notation We already know that that we can create strings using the percent notation: %(<foo="bar's ton">) is...
TL;DR: All modern browsers default to using the element as the main document viewport. In CSS, prefer to set...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...
Cross-Site Request Forgery (CSRF) is an attack pattern for websites. A CSRF attack is usually relevant in a...