There are many ways to optimize SVGs. Ideally, your build pipeline does that automatically for you (e.g. via postcss-svgo...
The exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...
There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...
When you are using lambdas in RSpec to assert certain changes of a call, you know this syntax: expect { playlist.destroy...
This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...
For Sidekiq to be able to retry your jobs it has to be able to catch errors that occur while...
A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...
Geordi provides a pretty neat way to generate beautiful commit messages according to your stories in Linear: geordi commit
If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
Option 1: JSON dump In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the...
If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use...
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
Whenever is a Ruby gem that provides a nicer syntax for writing and deploying cron jobs. Leading zeros are important...
To catch all possible exceptions from a network call, we need to rescue many error classes like this: rescue SocketError...