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

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

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

When doing some meta-programming magic and you want to do something for all attributes of a class, you may...

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

When you have a powerful machine with many CPU cores, you might run into an error like

tableplus.io

To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

The rendered font often depends on the local font your system provides, therefore you often find a rule like below...

Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...

docs.ruby-lang.org

Percent Notation We already know that that we can create strings using the percent notation: %(<foo="bar's ton">) is...

S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...

makandra dev

If you need to run a program on a remote machine (e.g. to your office PC) with a graphical UI...

At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...

When you receive a ZIP file from a Windows user, umlauts and other non-latin1 characters in filenames may look...

To make a local copy of an S3 bucket, I use the s3cmd command line tool. Configure access keys:

makandra dev
litmus.com

The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...

Whenever is a Ruby gem that provides a nicer syntax for writing and deploying cron jobs. Leading zeros are important...

Authentication is a special part of web applications. On the one hand, it usually is a crucial security mechanism restrict...

makandracards.com

In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...

When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...

By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your...

For applications coming with lots of stylesheets and scripts, asset compilation might take quite long. This can be annoying when...