Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...

When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...

Sometimes, due to git or other "accidents", important files get deleted or overwritten. At a state when even Ctrl+Z...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

github.com

From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...

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

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...

stackoverflow.com

Set up a package root in your homedir to hold the Node "global" packages: $ NPM_PACKAGES="$HOME/.npm-packages"

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

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

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

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

Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...

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

Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...

When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...