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...
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...
Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
Best results in other decks
It's not possible to change the bwlimit of Proxmox storages via the Web-UI (at least in Proxmox 7...
With Ubuntu 24.04 it's not longer possible to setup FDE with BTRFS The new installer won't offer you...