When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...
Set up a package root in your homedir to hold the Node "global" packages: $ NPM_PACKAGES="$HOME/.npm-packages"
jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
When you have a powerful machine with many CPU cores, you might run into an error like
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...
To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...
The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...
When you created a project on the Google API Console which is not being used, you may receive an e...
Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...
Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...