Compatibility: Angular 20+ with Jasmine 5.x and Karma 6.x As a default Angular CLI auto-generates test bootstrap...
Full-text search can reach its limits in terms of flexibility and performance. In such cases, trigram indexes (pg_trgm...
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).
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...
If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...
GitLab has a RubyMine plugin that enables you to review and process merge requests within RubyMine! Setup Open RubyMine settings...
The linked MDN article is quite informative of a neat feature supported by all major browsers: Unicode character class escape...
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...
In Rails 7.2. the feature ActiveRecord.after_all_transactions_commit was added, for code that may run either inside or outside...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...
Modern CSS offers the field-sizing property to allow elements to automatically adjust size (width and/or height) to fit their...
You can report CSP violations to Sentry. Within config/initializers/content_security_policy.rb: Rails.application.configure do config.content_security_policy do |policy| # Settings for the policy...
If you want to build a small CLI application, that supports more advanced inputs than gets, I recommend using the...
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...
The linked article shows how to configure omniauth-multi-provider to support multiple SAML identity providers for a single Rails...
Our projects with parallel_tests and cucumber used to have a patched failure logger as the one from parallel_tests...
Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).