makandra dev
github.com

capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...

We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...

ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...

CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...

stackoverflow.blog

A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...

You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...

When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...

By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...

makandra dev

There are several tools for DNS debugging which offer you more or less information. Most of the time the more...

makandra dev

I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...

The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...

URLs can transport key/value pairs ("parameters") using this syntax: /path?foo=bar If the value is blank, mind these subtle...

TinyMCE is a WYSIWYG editor which is quite customizable. Add a custom button to the tinyMCE toolbar and tell tinyMCE...

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

stackoverflow.com

In the tab where you need it, open Chrome DevTools with F12, open settings with F1, scroll down to the...

makandra dev

This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...

makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...

makandra dev

If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...

When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...

If you want to get the path of a file relative to another, you can use the expand_path method...

CSS variables are very different from preprocessor variables. While preprocessors use variables to compile a static piece of CSS, CSS...