If you're experiencing problems with your Google Chrome installation after an update, it might help downgrading Chrome to check...
While debugging a SPF record I found spf-record.de to be very helpful. it lists all IPs that are covered by...
Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...
Fix: downgrade net-ssh to version 2.9.1.
The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...
If a model inherits from others or uses many concerns / traits, it might be hard to see in the code...
When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...
ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...
If you want to get the path of a file relative to another, you can use the expand_path method...
To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...
Ruby Jard provides a rich Terminal UI that visualizes everything your need, navigates your program with pleasure, stops at matter...
This is an extract from the linked article. It shows an approach on how to implement encrypted passwords with the...
A flat folder structure can be cool if you have only a few folders but can be painful for huge...
Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.
This error occurs when passing an object instead of a string to Jasmine's describe(): # Bad describe(HoverClass, function() {...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.
When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...
You can do this per environment, e.g. in config/webpack/test.js: const environment = require('./environment') const config = environment.toWebpackConfig() config.devtool = 'none' module.exports = config
Rails middlewares are small code pieces that wrap requests to the application. The first middleware gets passed the request, invokes...
If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...
We structure our CSS using the BEM pattern. Our naming convention for blocks, elements and modifiers has evolved over the...
Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...