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

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

tools.ietf.org

In case you're wondering, when concat-ing server certificate and intermediate certificates, the server certificate comes first.

Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...

Carrierwave includes some handy helper methods you can use to resize your images. Here is a quick summary of them...

makandra dev

This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects

tableplus.io

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

When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...

If your app does not need to support IE11, you can use most ES6 features without a build step. Just...

Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...

makandra Curriculum

When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...

In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...

makandra dev

To restart all tasks monitored by God, don't use god restart. This command is only meant to soft-restart...

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

Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...

When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...

The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...

We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...

makandra dev
github.com

Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...

makandra dev

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

developers.google.com

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

It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...