makandra dev

10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...

The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...

Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...

I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...

Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...

Sometimes you have a file that is related to a project, while not actually being part of it. You'd...

makandra dev
whattrainisitnow.com

The linked table shows the support lifecycle for Firefox Extended Support Releases (ESR) which we sometimes need to support for...

A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...

unpoly.com

Version 3.7.0 broke some things in complex forms. Sorry for that. Concurrent user input is hard. 3.7.1 This change fixes...

jetbrains.com

RubyMine has a collaboration feature called "Code With Me". Using it, you can invite someone into your local editor to...

You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...

makandracards.com

A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch

If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...

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

selenium.dev

I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.

The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...

github.com

The linked rbenv plugin rbenv-each is very helpful to keep QoL gems up to date that are not part...

Chromedriver (or selenium-webdriver?) will not reliably scroll elements into view before clicking them, and actually not click the element...

You don't want sensitive user data in your logs. Background Rails per default filters sensitive data like...

Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...

Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...

Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...