Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...

makandra dev

Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

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

In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',

makandra dev
developer.mozilla.org

The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...

makandra Curriculum

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

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

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

makandra dev

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

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

If validations failed for a record, and you want to find out if a specific validation failed, you can leverage...

developer.mozilla.org

Browsers' printing methods usually don't print background colors. In most cases this is the desired behavior, because you don...

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

Sometimes, the IRB prints a warning during boot: irb: warn: can't alias source from irb_source. Explanation

Boot partitions from installations prior to the 16.04 era are terribly small. When you install updates and encounter errors due...

When you have string contents (e.g. a generated binary stream, or data from a remote source) that you want to...

You need to update a lof gems. Make sure you don't have any version constraints in your...

Running rails server will start a local server that you can access via http://localhost:3000. When you are working...

If you want to make a screenshot of a website that works well in print or on a high-DPI...

This is painful. Consider using Microsoft Office or switching careers. If you need to write < 20 letters consider doing it...