Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...
Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
As we are slowly switching from Cucumber scenarios to RSpec feature specs, you might be tempted to write assertions like...
With this Ruby script you can print all values in a Redis database to your console (derived from this bash...
Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...
Context and further resources Even though you can get 90% of debugging done with up to 5 basic byebug commands...
I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was...
Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...
When you allow file uploads in your app, a user might upload content that hurts other users. Our primary concern...
Every Rails response has a default ETag header. In theory this would enable caching for multiple requests to the same...
tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...
If your irb or rails console keeps randomly crashing and you can't figure out why then you can try...
Sidekiq 7 adds a new feature called capsules. Use cases: a chrome queue limited to 1 for e.g. PDF processing...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
Sometimes, the rails dev server doesn't terminate properly. This can for example happen when the dev server runs in...
In a Jasmine spec you want to spy on a function that is imported by the code under test. This...
You have some SVG files you want to use as icons on your website. How would you embed them?
If you're experiencing that your bundle install command fails with an error message like this, rubygems.org might...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote...
If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...
Sometimes the need arises for SSL in local development. We have guides for different webservers, this one is for puma...