In a web application you sometimes have tasks that can not be processed during a request but need to go...

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

When you have many changes, and you want to spread them across different commits, here is a way to stage...

millarian.com

In Active Record you can use named bindings in where-conditions. This helps you to make your code more readable...

Embedding videos on a website is very easy, add a tag to your source code and it just works...

We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...

makandra dev

Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...

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

Sometimes you might need to do some task in GitLab which would be tedious if you'd have to do...

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.