When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...

makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

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...

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...

makandra dev

If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...

makandra dev
github.com

Pagy is a gem for pagination. They make some bold claims: Pagy is the ultimate pagination gem that outperforms the...

news.ycombinator.com

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.

When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...

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...

CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...

island94.org

GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...

github.com

These warnings are printed when the etc Gem is installed, while etc is also included in Ruby. Fix with:

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

postgresql.org

TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...

In a web application you sometimes have tasks that can not be processed during a request but need to go...

github.com

An unresponsive service can be worse than a down one. It can tie up your entire system if not handled...

We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...

tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...

We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...