Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...
On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...
Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...
When loading a database dump created with pg_dump into your database, you might run into an error like
It sometimes happen that a database dump, that would want to insert into your development database, does not match the...
The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...
If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...
When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...
Pagy is a gem for pagination. They make some bold claims: Pagy is the ultimate pagination gem that outperforms the...
ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...
To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...
This is an extract from the linked article. It shows an approach on how to implement encrypted passwords with the...
Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.
If you are trying to integrate VCR and Cucumber 4 and you're using the use_scenario_name: true option...
In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...
Here is an example with the --tags option. You need to wrap them inside --cucumber-options option of parallel_cucumber...
If you want to prevent that two processes run some code at the same time you can use the gem...
If you migrate a Rails application from Sprockets to Webpack(er), you can either transpile your CoffeeScript files to JavaScript...
We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals...
GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...