When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...

While we are used to run our JavaScript tests on a test page within our Browser, it's also possible...

makandra dev

To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...

This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...

We use foreman to start all necessary processes for an application, which are declared in a Procfile. This is very...

Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...

Attaching files to a field that is handled by Carrierwave uploaders (or maybe any other attachment solution for Rails) in...

Sometimes you need to access a dev server running on localhost from another machine that is not part of the...

dev.to

In my case [...] the catalog is an XML that contains all kinds of possible products, categories and vendors and it...

TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.

The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...

github.com

I sometimes had the issue that I received an error when starting an existing vagrant box with vagrant up:

A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...

makandra dev

If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...

You can configure VCR to automatically record/replay cassettes for any RSpec example tagged as :vcr or vcr: true.

You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...

makandra dev

Besides their default styling properties, HTML elements have a semantic meaning. For example, an h1 tag is usually styled with...

Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...

With cd .. you can navigate one directory up from the one you are at now. If you use that a...

The tree command will show you the contents of a directory and all its sub directories as a tree:

There is an option you can set so that when using the cd command, small typos are automatically corrected. Add...

Rails has the handy controller method send_file which lets us download files easily. We can decide whether the file...