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

github.com

We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...

The DB schema is the most important source of truth for your application and should be very self-explanatory. If...

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...

Several Rails migration methods accept index: true as an option to create an index. In some cases (like #add_column...

PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...

Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...

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

PostgreSQL can cosplay as a full-text search engine. It doesn't have the features or fidelity of ElasticSearch or...

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

When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...

Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...

ariejan.net

Rails understands a :limit options when you create columns in a migration. Its meaning depends on the column type, and...

While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...

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

Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...

This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...

Rails is our web framework. Goals Be able to write a simple Rails application. Understand how Rails talks to the...

greg.molnar.io

Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...

makandra dev
semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...