Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...
On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
For newer Ubuntu versions we currently need to install the patch level version 1.8.7-p375, otherwise the dev dependencies from...
The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...
The issue in this card can occur if the node_modules directory is checked into your Git repository. We usually...
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...
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...
Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
You might have some trouble running a Rails LTS 2 app with MySQL 5.7. If you don't want to...
If your Rails application is using Webpack you need to serve assets on the same host as you application runs...
If you want to ssh into your vagrant box without switching into the project directory and typing vagrant ssh, you...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Luckily, this is simple. Just install three packages: sudo apt install ipheth-utils libimobiledevice-dev libimobiledevice-utils