Ruby includes many standard gems that are bundled into the Ruby installation. Here is an example for the gem strscan...

DevOps Curriculum

Bei Automatisierungsaufgaben kannst du dich nicht immer auf fertige Tools verlassen. Häufig musst du eine Schnittstelle zu einem bestehenden System...

DevOps Curriculum

Siehe Advanced git [2d] aus dem Developer Curriculum.

DevOps Curriculum

Based on the Ruby Basics Card in the developer Curriculum Ruby is the programming language we use on the backend...

tl;dr Since Rails 6.1+ you can use .compact_blank or .compact_blank! to remove blank values from collections (e.g...

blog.saeloun.com

Imagine these models and associations: class Deck < ApplicationRecord has_many :cards end class Card < ApplicationRecord belongs_to :deck, optional: true...

When redirecting you should take care to use the right HTTP status code. From controllers When redirecting from a controller...

Recent IRB versions include a multi-line autocomplete which may be helpful to novice users but can be distracting.

makandracards.com

If you get an error message like this: You have already activated some-gem 1.2.3, but your Gemfile requires some...

makandra dev

You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl...

tl;dr You can use attribute? as shorthanded version of attribute.present?, except for numeric attributes and associations. Technical Details

The gemspec for gems allows to add metadata to your gem, some of which have a special meaning and are...

When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

If you're deploying code for your lambda function via terraform, this code is usually zipped and uploaded to Amazon...

Due to the way we setup Jasmine tests in our projects, you may run into various errors when Jasmine boots...

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...

Um Server Infrastrukturen schnell und reproduzierbar konfigurieren zu können setzt man auf so genannte Configuration Management Lösungen. Die bekanntesten sind...

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

Bei makandra entwickeln wir seit 2009 Web-basierte Anwendungen und haben im Trainee-Programm für unsere Web-Entwickler vieles aufgeschrieben...

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...

You want to deploy new features but the latest commits are not ready for production? Then use git merge master...