When you have many changes, and you want to spread them across different commits, here is a way to stage...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
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...
When we write a form with date fields, we often use graphical data picker like Rome to get a consistent...
Embedding videos on a website is very easy, add a tag to your source code and it just works...
Because colors improve readability so much. On Ubuntu 18.04 you can install it with sudo apt install grc
Ruby's Net::HTTP library repeats a failing request once, as long as it deems it idempotent (GET, HEAD etc...
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...
You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
When you have two inputs, where one contains the name of the other (eg. Name and Name with special treatment...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...
Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...
Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...
ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...
This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
There was an issue with makandra_sidekiq < 0.2 concerning the stopping of Sidekiq. Sidekiq < 6 has two finishing timeouts: one...
Projects with more than one developer should always consider to enforce code review even for small changes to improves the...