PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...
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...
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
Rails' params hash contains any request parameters (URL parameters or request payload) as well as routing parameters like :controller, :action...
We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...
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 doing Basic Authentication, your browser will send an "Authorization" header. Its value is simply a Base64-encoded representation of...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...
The exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...
There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...
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...
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
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.