View
Posted over 10 years ago by Lexy. infoq.com

A well-written API can be a great asset to the organization that wrote it and to all that use...

Posted almost 9 years ago by Ulrich Berkmueller.

What collapsing margins are Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's...

Posted over 8 years ago by Henning Koch.

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

Posted 6 days ago by Michael Leimstädtner.

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

Posted 8 days ago by Judith Roth. nolanlawson.com

In my experience, the most common sources of memory leaks are APIs like these: addEventListener. This is the most common...

Posted 8 days ago by Arne Hartherz.

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

Posted 16 days ago by Henning Koch.

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

Posted over 2 years ago by Tobias Kraze.

Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...

Posted about 2 years ago by Emanuel De. github.com

There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...

Posted over 7 years ago by Henning Koch.

When two classes implement the same behavior (methods, callbacks, etc.), you should extract that behavior into a trait or module...

Posted over 4 years ago by Tobias Kraze.

PostgreSQL, unlike MySQL, treats strings as case sensitive in all circumstances. This includes comparison with = and LIKE collision detection in...

Posted about 1 month ago by Dominik Schöler.

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

Posted almost 5 years ago by Henning Koch.

Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...

Posted over 2 years ago by Emanuel De.

Cucumber will save a file tmp/parallel_cucumber_failures.log will the filenames and line number of the failed scenarios after a full test...

Posted about 1 month ago by Michael Leimstädtner.

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

Posted over 7 years ago by Henning Koch.

It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...

Posted over 5 years ago by Dominik Schöler.

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

Posted over 1 year ago by Tobias Kraze.

Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...

This website uses short-lived cookies to improve usability.
Accept or learn more