makandra dev

When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...

ActiveRecord computes table names of model classes, and results are usually just like you'd expect. Adding a prefix for...

Currently we often use geordi to run cucumber and rspec tests. Geordi takes care of installing a matching chromedriver for...

Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...

makandra dev
unpoly.com

Unpoly 3.11.0 is a big release, shipping many features and quality-of-life improvements requested by the community. Highlights include...

We usually ship applications that self-host webfonts to comply with GDPR. Many popular web fonts are available as NPM...

Even if you don't make any beginner mistakes like N+1 queries or missing DB indices, some requests can...

tl;dr Set profile.password_manager_leak_detection to false in your Selenium Chrome options to disable password leak detection and...

Our projects with parallel_tests and cucumber used to have a patched failure logger as the one from parallel_tests...

It can be hard to understand what causes a browser scroll smoothly or instantly. CSS, JavaScript and the browser settings...

To apply transparency to an element, you can use opacity in CSS. However, sometimes you don't want to make...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...

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

haml.info

Haml renders HTML with indentation reflecting the nesting level of elements. When it comes to white-space preserving content, this...

Given there is a user with an attachable avatar: class User < ApplicationRecord has_one_attached :avatar end

Ubuntu 24 added some guarding for Python packages which no longer allows installing applications through pip on system level. Instead...

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

makandra dev

Bundler allows you to specify the name of the Gemfile you want to bundle with the BUNDLE_GEMFILE environment variable...

Your package-lock.json should always match and resolve all packages from your package.json. Coming from Yarn, I was looking for an...

TL;DR: Rails ships two methods to convert strings to constants, constantize and safe_constantize. Neither is safe for untrusted...

In development, we store files using ActiveStorage's disk service. This means that stored files are served by your Rails...

tl;dr When a cookie includes an Expires attribute or an HTTP response includes caching headers like Expires or Cache...

developer.mozilla.org

Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to...