Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...
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...
geordi dump: Allow to forward the compression option to the underlying dumple command, e.g. geordi dump --compress=zstd:3...
I had to modify the time for an application that I launch through Docker. Here is an approach that worked...
prettier calls itself an opinionated code formatter. I recommend using it for your JavaScript and TypeScript code. prettier only concerns...
When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
Warning Workspaces do not work well with terragrunt generally. If at all possible try to avoid using them together.
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...
Important wkhtmltopdf is deprecated and shouldn't be used anymore. Please consider switching to another tool We can install wkhtmltopdf...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
Here is a workaround for when you want to use text-wrap: balance but must also render nicely for browsers...
ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...
PostgreSQL can cosplay as a full-text search engine. It doesn't have the features or fidelity of ElasticSearch or...
There are several ways to run a single spec. I usually copy the spec file path with the line number...
Sometime we've seen this error when executing e.g. bundle exec rake asset:precompile: double free or corruption (out)
It is possible to add custom http header to request made by the docker CLI client. This can be used...
The key to unlocking the full potential of LLMs in coding lies in crafting precise prompts. The main challenge is...
Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background