When you use the :as option to map a power to a controller method you can now override the generated...

thepugautomatic.com

How a macro can dynamically define a method that can be overridden with super in the same class.

After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...

If you have for e.g. a Java application which outputs multiline stack traces inside a container running in kubernetes you...

Let's assume that we have a model Movie that registers a callback function when a new instance of Movie...

I recently enjoyed debugging a Cucumber step that tried to be retryable using a patiently block: Then /^"([^"]*)" should( not)? be...

DevOps Curriculum

Du musst kein Netzwerkspezialist sein oder iptables in- und auswendig kennen. Du solltest aber die Grundlagen verstanden haben. Spätestens wenn...

kukicola.io

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

bundler.io

Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:

DevOps Curriculum

In dieser Card geht es um Netzwerke in Kubernetes. Schau noch einmal kurz auf Netzwerke zurück und schau dir die...

Du verstehst, was ein Pod ist und warum es Sinn macht, Container auf diese Weise zu gruppieren.

DevOps Curriculum

In diesem Kapitel lernst du die grundsätzlichen Konzepte von Kubernetes kennen. Hier geht es weniger um die API Objekte wie...

In diesem Kapitel wirst du eine Applikation in ein Containerimage verpacken und dieses via CI/CD bauen. Anschließend baust du die...

makandra dev

Timecop is a great gem to set the current time in tests. However, it is easy to introduce flakyness to...

Usually, design development starts with drafts, sketches and prototypes. These are reviewed, refined and iterated until the final design is...

You can execute systemctl --user --failed to check for failed systemd user units. But let's face it: It's...

To read the current breakpoint tier in JavaScript, employ this CSS: :root { --current-breakpoint-tier: xs; @media (min-width: $screen...

In diesem Kapitel sprechen wir darüber wie Container eigentlich funktionieren. Es ist zwar nicht zwingend erfoderlich um diese zu verwenden...

makandra dev

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:

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.

github.com

Instead of cobbling together default settings in several different places as the issues arise, you can define them application-wide...