We use Sentry to be informed about different kinds of issues. One of the key features is that you are...

web.archive.org

...cat tmp/parallel_cucumber_failures.log | xargs geordi cucumber # Running features > Only: features/authentication.feature:33 features/backend/pages.feature:5 features/backend/pages.feature:60 ... Beside the linked article you might also be interested in reading An Opinionated Guide to xargs...

Rails offers the fresh_when method to automatically compute an ETag from the given record, array of records or scope...

Fill in find field with e.g. url (? .*?) Hint: the "url" at the beginning of the string is just a text fragment; the (? .*?) is our named capture group.

The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...

When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...

...Capybara see the print stylesheet Capybara always requests as the screen medium. The step belows reloads the current page with a query param we will use in our layout to...

When RubyMine reports Rubocop returning "exit code -1", upgrading Rubocop can be the fix: gem install rubocop "The logs" can...

mtlynch.io

...boring style violations. When you demonstrate an appreciation for constructive criticism, your reviewer provides better feedback . Make others better: Your code review techniques set an example for your colleagues. Effective...

postgresql.org

There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...

If you expect method calls in RSpec 3, be aware that the argument matchers use very liberal equality rules (more...

This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...

...s nodes you can use these steps to rebalance the shards. Attention Before we begin it's important to understand how Elasticsearch/OpenSearch defines balance: The balance of the cluster depends...

...the number of shards on each node and the indices to which those shards belong. It considers neither the sizes of these shards nor the available disk space on each...

By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...

makandra dev
interfaces.rauno.me

A list of implementation details that make for a better / expected user experience. Have these in mind when implementing a web design. This document outlines a non-exhaustive list of...

github.com

You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...

github.com

The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...

=> #<Capybara::Node::Element tag="div" path=... If you rely on this behavior in Capybara 3, affected features will fail. The gem no longer normalizes whitespace when finding...

...visible css ".haystack" with text "Hi! Try to match me." Re-enabling Cabyara 2 behavior in Capybara 3 After digging in the documentation, you might figure out that you can...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be either a method that was moved from the top to...

...not scale the icon with the font size. One option that seems to work better is to use the mask CSS feature. The idea is to have an element with...

...var(--icon-url) center / contain no-repeat // this can probably be done in a better way: vertical-align: text-bottom margin-bottom: -.1em // depends on the icons @each $icon in...

Apply Test Driven Development(TDD) to the process of building container images by defining test before writing code and automate...

tl;dr The :is() pseudo selector - specificity of its most specific argument - matches against a comma-separated list of selectors...

tl;dr The :where() pseudo selector - zero specificity - matches against a comma-separated list of selectors. Example Compound selectors like...

makandra dev

While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...