To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...

Important If your railscomplete-deployment uses the net-ssh-gem please ensure you use version 5.2.0 or newer to ensure...

Sometimes new versions of software introduce new bugs. In this case you might not want the package to upgrade on...

In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...

If you want to prevent that two processes run some code at the same time you can use the gem...

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

makandra dev
github.com

FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...

makandra dev

# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...

makandra dev

RubyMine has a HTTP Client that can be useful to test web APIs. Just create a .http scratch file an...

Select2 is a fantastic library for advanced dropdown boxes, but it depends on jQuery. Alternatives Tom Select

makandra dev
github.com

If you render markdown from user input, an attacker might be able to use this to inject javascript code into...

There is a reasonable simple way to move data between Redis servers: Simply temporarily configure the new server as a...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...

makandra dev

Using git fixup helps you to speed up appending changes further back in the git history of your feature branch...

In case you want to use pry with an older version of Ruby, you can try the following configurations.

You can install rubygems 3.0.8 (released on February 18, 2020) to keep all the Gem::Specification#rubyforge_project deprecation warnings...

When you have many changes, and you want to spread them across different commits, here is a way to stage...

github.com

The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...

With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...

Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...

A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...

Embedding videos on a website is very easy, add a tag to your source code and it just works...

github.com

Because colors improve readability so much. On Ubuntu 18.04 you can install it with sudo apt install grc