ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...

Hint If you are using our opscomplete.com hosting we can set all environment variables mentioned below for your deployment on...

We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...

While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...

esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...

This cards describes an example with a Github Client on how to keep your Rails application more maintainable by extracting...

After an upgrade to rails 7 I noticed that async reindexing jobs of Searchkick were failing for Model.reindex(mode: :async...

If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...

makandra dev

There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...

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

selenium.dev

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

github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...

It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...

Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...

tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...

If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...

Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...

After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...

github.com

ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...

When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...

This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...