Today I learned that you can animate HTML elements using the Web Animation API's method .animate(keyframes, options) (which...
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...
RubyMine has a collaboration feature called "Code With Me". Using it, you can invite someone into your local editor to...
The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...
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
OpenAI is currently limiting the Audio generating API endpoint to text bodies with a maximum of 4096 characters.
#pluck is commonly used as a performant way to retain single database values from an ActiveRecord::Relation Book.pluck(:title, :price...
Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
In the discussion of the difference between include and extend in Ruby, there is a misconception that extend would add...
Most of our applications use CarrierWave for file uploads. CarrierWave has an integrated processing mechanism for different file versions with...
The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...
Do you remember finding where a method is defined? I recently learned from a senior colleague that Method objects are...
Browsers can auto fill-in one time codes if advised. Use it like this: Demo: https://twitter.com/sulco/status/1320700982943223808 Browser support...
You don't want sensitive user data in your logs. Background Rails per default filters sensitive data like...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...
There are multiple ways to redirect URLs to a different URL in Rails, and they differ in small but important...
Rails' url_for is useful for generating routes from a Hash, but can lead to an open redirect vulnerability.
Rails' Strong Parameters enable you to allow only specific values from request params to e.g. avoid mass assignment.
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
An introduction to mangling When you minify ("compress", "optimize") your JavaScript for production, the names of your functions and variables...