This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
Sometimes you might need to do some task in GitLab which would be tedious if you'd have to do...
This is not encouraged because this change is easily forgotten. We recommend using this only if you know what you...
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
In case you're wondering, when concat-ing server certificate and intermediate certificates, the server certificate comes first.
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
Carrierwave includes some handy helper methods you can use to resize your images. Here is a quick summary of them...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
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...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
To restart all tasks monitored by God, don't use god restart. This command is only meant to soft-restart...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...
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...
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...