While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
You might know a few examples, where you configure some library via a block. One example is the Rails configuration...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...
Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...
Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
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...
We usually rely on VCR and WebMock to prevent any real network connection when running our unit tests.
You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...
curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...
Fix: downgrade net-ssh to version 2.9.1.
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...
Ruby's Net::HTTP library repeats a failing request once, as long as it deems it idempotent (GET, HEAD etc...
TLS/SSL certificates are often used for HTTPS traffic. Occasionally a service may also use their TLS certificate to support public...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...