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

While deploying an Ruby update to an old application these days, we encountered the following misleading error: *** [err :: some-host.makandra.de] You...

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

We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...

Bundler 2 requires at least Ruby 2.3.0 and RubyGems 2.5.0. You might get the following error when you try to...

makandra dev

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

I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...

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

makandra dev

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

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

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 exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...

makandra dev
github.com

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

Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...

When debugging your application, you will come across objects created by some gem or framework. You don't have the...

Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...

github.com

Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...

In this example we assume that not only the storage gem changes but also the file structure on disc.

Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...

If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...