Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...

This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...

DevOps Curriculum

Früher und auch heute noch werden in großen Teilen Infrastruktur Bestandteile manuell konfiguriert und aufgesetzt. Das bedeutet, dass Menschen manuell...

Im DevOps Bereich bist du insbesondere damit beschäftigt Infrastruktur zu bauen und zu betreiben. Weil man große Infrastukturen nur schwer...

DevOps Curriculum

Schau dir den unter Inhalte verlinkten Udemy Kurs an. Die Zugangsdaten für Udemy bekommst Du von deinem Mentor. Überspring Inhalte...

DevOps Curriculum

Wir arbeiten bei makandra alle auf Linux-Betriebssystemen und bedienen im DevOps- & Cloud-Bereich primär Kunden, die ebenfalls auf Linux...

Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...

Attaching files to a field that is handled by Carrierwave uploaders (or maybe any other attachment solution for Rails) in...

Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...

Resources RubyGuides: Mastering Ruby Regular Expressions Using regular expressions in JavaScript Testing regular expressions visually Regular Expressions: Quantifier modes...

JavaScript code can access and manipulate the browser's DOM tree. Using JavaScript we can add interactive behavior to our...

Sometimes you need to access a dev server running on localhost from another machine that is not part of the...

RSpec Rails can automatically mix in different behaviors to your tests based on their type tag, for example enabling you...

TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.

makandra dev
github.com

Rack::SteadyETag is a Rack middleware that generates the same default ETag for responses that only differ in CSRF tokens...

Elasticsearch defaults to go into readonly mode when you run low on disk space (< 95%). You might then see an...

Some users might use Adblock Plus or similar browser plugins to reduce the number of ads displayed. If you run...

A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...

makandra dev

If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...

makandra Curriculum

Basic validations Read the Rails Guide on ActiveRecord Validations. You should have an overview which kinds of validations are built...

Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...

This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.

Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...

With cd .. you can navigate one directory up from the one you are at now. If you use that a...