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...

Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...

As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...

MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the...

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...

Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...

Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...

Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...

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...

When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...

Fixed bugs where calling valid? would change the record's state.

When you have a powerful machine with many CPU cores, you might run into an error like

Rails' params hash contains any request parameters (URL parameters or request payload) as well as routing parameters like :controller, :action...

For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...

makandra dev

This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects

tableplus.io

To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...

makandra dev

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...

github.com

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

api.jquery.com

jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...