While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
Add apt source: apt update -y && apt install -y gpg sudo wget curl sudo install -dm 755 /etc/apt/keyrings
Debouncing a method call delays its execution until after a specified time has passed. If it's called again before...
This card is a short summary on different ways of assigning multiple attributes to an instance of a class.
Using Capistrano, we usually have some array configurations in the config/deploy.rb file, like set :linked_files, %w[config/database.yml], so in...
ActiveModel classes have a class method .human_attribute_name. This returns a human-readable form of the attribute: Person.human_attribute...
I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...
When you are using PgBouncer with e.g. a Ruby on Rails application which uses different application_names for the PostgreSQL...
tl;dr Do not use the option optional on association declarations with a symbol, lambda or proc. Explanation Association declarations...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
If you want to use rsync to transfer files that don't belong to your user to another system you...
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...
Postgres works differently See PostgreSQL: Difference between text and varchar columns for PostgreSQL-specific info MySQL has 4 different column...
Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...
Debugging performance issues in your Rails app can be a tough challenge. To get more detailed insights consider using the...
Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...
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...
10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...
You can chain multiple Capybara matchers on the page or any element: expect(page) .to have_content('Example Course')
A common cause of non-accessible web pages are elements that were made interactive via JavaScript but cannot be focused...
These are the top ten accessibility errors as researched by TPGi, a company focusing on accessibility. See the linked article...