If you use the selenium-webdriver gem, it will sneakily phone home once every hour whenever you run a browser...
I recently had to update a few selective npm libraries in a project that uses pnpm to apply a CVE...
When creating a database table for a join model without further importance, you can use Rails' create_join_table:
It's not possible to use variables in media queries with plain CSS. @media (max-width: var(--some-pixel-size...
When you query the browser for DOM elements, there are some footguns you should know about. Some lists are synchronized...
A simple web tool for generating lighter (tints) and darker (shades) versions of any HEX color value. Tip
Finding changes When you're looking for a specific change in Git, there are multiple axes you can choose:
Follow the installation guidelines at https://mise.jdx.dev/getting-started.html. Remove rbenv configuration Search for rbenv config in .bashrc and...
When your Rails application is using Redis as its cache store, this is how you can list existing keys:
When you replace parts of the DOM with new HTML, using .innerHTML = newHtml is usually the simplest and fastest option...
Compatibility: Angular 20+ with Jasmine 5.x and Karma 6.x As a default Angular CLI auto-generates test bootstrap...
Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...
Full-text search can reach its limits in terms of flexibility and performance. In such cases, trigram indexes (pg_trgm...
Quick reference for passing data from Rails to JavaScript via Unpoly compilers. Haml Attribute Syntax # Ising hash rockets and string...
When RSpec sets out to print any given object to the console, it will never print more than 200 characters...
The linked tool can be used to scan your CI/CD workflows for potential security issues and suboptimal defaults if they...
In Rails 8 the behavior of the rails db:migrate command has changed for fresh databases (see PR #52830).
This release adds asynchronous compilers and many other features requested by the community. We also fixed a number of performance...
Note Compiling Sass is probably the slowest part of your build, so this is worth a try if you're...
Here is the resulting command: docker run --rm -it \ --env FAKETIME="@2025-09-18 12:00:00" \ --env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 \ --volume /usr/lib/x86_64-linux-gnu/faketime:/usr/lib/x86_64-linux-gnu/faketime:ro \ example/image Note that faketime...
GoodJob and ActiveJob rescue exceptions internally, preventing exception_notification from triggering. This can cause silent job failures.To get notified, subscribe...
prettier calls itself an opinionated code formatter. I recommend using it for your JavaScript and TypeScript code. prettier only concerns...
There's a method Integer() defined on Kernel, that typecasts everything into an Integer. Integer("2") # 2 Integer("foo") # Invalid...