superuser.com

Inspecting the source of an email does not always reveal the plain HTML source, but some encoded byte mess. In...

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

makandra dev
github.com

Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...

Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...

Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...

It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...

Over the years we have tried several solution to have vector icons in our applications. There are many ways to...

To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...

Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...

We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...

makandra dev

TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...

When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...

Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...

PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...

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',

Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...

makandra dev

min-width is known as a CSS property that can be set to define a least width for an element...

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...

From at least Rails 4, the ActionView tag helper turns Array values of HTML options into a single space-separated...