This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
In the past we validate and set default values for boolean attributes in Rails and not the database itself.
Since Rails 7 you are able to encrypt database information with Active Record. Using Active Record Encryption will store an...
To retrieve only unique combinations of the selected attributes: You can omit rows, where all selected columns are equal with...
Das Standardtool für Monitoring auf AWS ist Cloudwatch. Du hast dir in den AWS Kapiteln Cloudwatch sicherlich schon grundsätzlich angesehen...
Mit SQL spricht man mit relationalen Datenbanken. Ziele Verstehe die folgenden SQL Befehle SELECT WHERE ORDER INNER JOIN, LEFT JOIN...
Du musst kein Netzwerkspezialist sein oder iptables in- und auswendig kennen. Du solltest aber die Grundlagen verstanden haben. Spätestens wenn...
Using ActiveRecord's #signed_id and .find_signed methods you can create URLs that expire after some time. No conditionals...
When an object is created / updated, various callbacks are executed in this order: before_validation after_validation before_save
To delete a specific redis-DB you need to use the FLUSHDB-command in combination with the SELECT-command. For...
In dieser Card geht es um Netzwerke in Kubernetes. Schau noch einmal kurz auf Netzwerke zurück und schau dir die...
TLDR if you define a equality method for a class you must also implement def hash. Ruby has a lot...
We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root...
When changing glibc versions, it's possible to end up with corrupt indexes in PostgreSQL. Are My Indexes Affected?
When changing the glibc version, it's possible that the upgrade also includes changes to how locales work.
The Oracle mysql client has an odd behavior if your server uses latin1 as default character-set-server. Command
tl;dr You should decouple migrations from models by embedding models into the migration. To use STI in this scenario...
Was ist DynamoDB und für was kann man es einsetzen? In eine DynamoDB Tabelle werden ständig neue Daten geschrieben...
Der zuverlässige und perfomante Betrieb von relationalen Datenbanken kann sehr aufwendig und komplex sein. Dies gilt vor allem, wenn man...
AWS VPC ist Teil der EC2 Familie und wird benötigt um Netzwerkressourcen bereitzustellen. Es ist komplett mit Software-defined Networking...
ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...
To allow HTTP 304 responses, Rails offers the fresh_when method for controllers. The most common way is to pass...
Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...
If your postgres database is only accessible from inside a kubernetes cluster, e.g. if it's configured in AWS RDS...