While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...
This card describes four variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly:
We are using assignable_values for managing enum values in Rails. Nevertheless Rails is adding more support for enum attributes...
When making requests using the http gem you might want to automatically follow redirects to get the desired response. This...
Debugging performance issues in your Rails app can be a tough challenge. To get more detailed insights consider using the...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...
tl;dr Prefer request specs over end-to-end tests (Capybara) to joyfully test file downloads! Why? Testing file downloads
It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...
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:
Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...
Tested on Ubunut 22.04 1. Opener script Create a file ~/.local/bin/coverage_zip_opener with: #!/bin/bash tmp_folder="/tmp/coverage-report-opener" if [ -z "$1" ]
Here are some hints on best practices to maintain your tasks in larger projects. Rake Tasks vs. Scripts
I recently did a quick research on how to better write down multiline statements like this: # Dockerfile RUN export DEBIAN...
A list of clever debugging tricks. TOC: Advanced Conditional Breakpoints monitor() class Calls Call and Debug a Function Pause Execution...
The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...
Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...
This Capistrano task runs a command on all servers. bundle exec cap production app:run cmd='zgrep -P "..." RAILS_ROOT/log/production.log...
A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch