This card explains how to generate an entity relationship diagram for your Rails application. We also show how to limit...
Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...
To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...
This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...
We use foreman to start all necessary processes for an application, which are declared in a Procfile. This is very...
Rack::SteadyETag is a Rack middleware that generates the same default ETag for responses that only differ in CSRF tokens...
Similar to the Webpack Bundle Analyzer, Chrome's new Lighthouse feature … … shows a visualisation of your JavaScript bundles. It's...
From Exploring ES6: Module imports are hoisted (internally moved to the beginning of the current scope). Therefore, it doesn’t...
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...
The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...
The rubygems binary gem allows to extract a local gem with gem unpack GEMNAME. For more details see the official...
Our gem spreewald supports a few helpers for development. In case you notice errors in your Cucumber tests, you might...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
Capybara added a deprecation warning in version 3.35.3 (version from 2019) that shows up if your selector is not of...
We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...
The linked article points out that COUNT queries might be unexpectedly slow in PostgreSQL. If you just need to know...
You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
Sometimes you want to load code on demand. For instance, when a a large library is only used on a...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...