Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...
This card describes two variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly.
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
jq is great when dealing with JSON data. Check out the official jq Manual. Content Select only specific keys
10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...
I recently built a screen with a very high and wide table in the center. This posed some challenges:
It happens from time to time that a job in a GitLab pipeline fails. Sometimes, however, the error message is...
Wondering what these numbers in the mount entries in /etc/fstab are meaning? The first number fs_freq When this field...
You can use pg_repack to do a VACUUM FULL without holding an exclusive lock during processing. There is still...
If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...
The sprintf method has a reference by name format option: sprintf("% d : % f", { :foo => 1, :bar => 2 }) # => 1 : 2.000000
Apply Test Driven Development(TDD) to the process of building container images by defining test before writing code and automate...
Every modern Rails app should have a Content Security Policy enabled. Very compatible default The following "default" is a minimal...
If you want to automatically delete old container images from your Elastic Container Registry, the solution is a quite simple...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
TLDR Using .includes or .eager_load with 1-n associations is dangerous. Always use .preload instead. Consider the following ActiveRecord...
Do you remember finding where a method is defined? I recently learned from a senior colleague that Method objects are...
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...
Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
Using querySelector or querySelectorAll in JavaScript, you can easily find descendants of a node that match a given selector.
We have a long-standing checklist for merge requests. However, it hardly matches the intricate requirements for design. This checklist...
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...