A well-written API can be a great asset to the organization that wrote it and to all that use...
What collapsing margins are Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...
In my experience, the most common sources of memory leaks are APIs like these: addEventListener. This is the most common...
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...
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...
There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...
When two classes implement the same behavior (methods, callbacks, etc.), you should extract that behavior into a trait or module...
PostgreSQL, unlike MySQL, treats strings as case sensitive in all circumstances. This includes comparison with = and LIKE collision detection in...
When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
Cucumber will save a file tmp/parallel_cucumber_failures.log will the filenames and line number of the failed scenarios after a full test...
This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...
It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...