In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
Cucumber factory supports polymorphic associations out of the box. Just keep in mind that you need to use named associations...
Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
There are many ways to optimize SVGs. Ideally, your build pipeline does that automatically for you (e.g. via postcss-svgo...
When projects run for many years, they require special regular maintenance to stay fresh. This kind of maintenance is usually...
We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...
Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...
jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...
When you are using lambdas in RSpec to assert certain changes of a call, you know this syntax: expect { playlist.destroy...
Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...
This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...
Percent Notation We already know that that we can create strings using the percent notation: %(<foo="bar's ton">) is...
It is very common to parse dates from strings. It seems obvious to use Date.parse for this job. However this...
Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
When debugging your application, you will come across objects created by some gem or framework. You don't have the...
TL;DR: All modern browsers default to using the element as the main document viewport. In CSS, prefer to set...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...