Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
coffeescript.org contains only documentation for the latest CoffeeScript version. Version 2 transpiles to ES6. We stopped using CoffeeScript a while...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...
CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...
When doing some meta-programming magic and you want to do something for all attributes of a class, you may...
Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...
When you have a powerful machine with many CPU cores, you might run into an error like
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
If you have a PostgreSQL dump in the custom format you can can view the text format dump (plain SQL...
For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...
When restoring a PostgreSQL dump using pg_restore, you usually add the --clean flag to remove any existing data from...
To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...
When projects run for many years, they require special regular maintenance to stay fresh. This kind of maintenance is usually...
This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...
In this example we assume that not only the storage gem changes but also the file structure on disc.