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...
In diesem Kapitel wirst du eine Applikation in ein Containerimage verpacken und dieses via CI/CD bauen. Anschließend baust du die...
Timecop is a great gem to set the current time in tests. However, it is easy to introduce flakyness to...
You can execute systemctl --user --failed to check for failed systemd user units. But let's face it: It's...
In a Jasmine spec you want to spy on a function that is imported by the code under test. This...
To measure the time of your HTTP request with curl, you can use the -w (--write-out) option:
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.
There are cases where we have multiple exported resources that are identical. There are nodes that provide the same services...
We usually rely on VCR and WebMock to prevent any real network connection when running our unit tests.
The link contains a simple shell script to push a cleanup policy for gitlab repositories in a group.
When configuring prometheus scrape_configs, you may use relabel_configs to filter your metrics or change some fields. Your config...
If you've stumbled over display: grid while reading the Flexbox material of the previous card - we've got you...
Usually, Unpoly compiler destructors are returned from the compiler function. However, when using async compiler functions, you can not register...
Du möchtest deinen AWS Account auf bestimmte Fehlkonfigurationen hin überwachen. Dafür wirst du AWS Config einsetzen. Über gebrochene AWS Config...
Nginx is capable of forwarding a unix socket to UDP backend servers. This is quite handy for load balance syslog...
Erfülle die Aufgaben Zeige deinem Mentor in einer Live-Demo was du umgesetzt hast. Wenn du Aufgabe 4 betrachtest...
Du hast alle Aufgaben der Card erfüllt Inhalte Configuring the AWS CLI Switching roles (AWS CLI) Aufgaben
In esbuild, you usually import other files using relative paths: import './some-related-module' import `../../utils/some-utility-module` import `../../../css/some-css.sass` This is totally fine...
tl;dr You should decouple migrations from models by embedding models into the migration. To use STI in this scenario...