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

If you have an element with significant border-radius (e.g. 50% for a circle) and you want inline content (i.e...

You can use the config.x configuration in combination with config_for to configure global settings for your Rails 4.2+ application...

makandra dev

I recently did a quick research on how to better write down multiline statements like this: # Dockerfile RUN export DEBIAN...

makandra dev
alan.norbauer.com

A list of clever debugging tricks. TOC: Advanced Conditional Breakpoints monitor() class Calls Call and Debug a Function Pause Execution...

jetbrains.com

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

Wondering what these numbers in the mount entries in /etc/fstab are meaning? The first number fs_freq When this field...

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

edgeapi.rubyonrails.org

The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...

Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...

This Capistrano task runs a command on all servers. bundle exec cap production app:run cmd='zgrep -P "..." RAILS_ROOT/log/production.log...

In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...

docs.gitlab.com

Short hint: If you want to push to a git repository that has CI configured, you can skip the CI...

You can use pg_repack to do a VACUUM FULL without holding an exclusive lock during processing. There is still...

makandracards.com

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.

In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...

#pluck is commonly used as a performant way to retain single database values from an ActiveRecord::Relation Book.pluck(:title, :price...

Added: State machine can now use the :prefix-option to avoid name collision if you define multiple state machines on...

makandra dev

Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...

Make sure that you use the correct property when editing an HTML attribute. Using innerHTML with unsafe arguments makes your...

tl;dr You can use ordered to ensure that messages are received in a specific order. Example expect(ClassA).to...

github.com

In my career, I have consumed hundreds of REST APIs and produced dozens. Since I often see the same mistakes...

When you find similar groups of expect calls in your tests, you can improve readability by extracting the group into...