Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
This checklist should help you to check edge cases that are not part of the default Carrierwave configuration.
When you have two inputs, where one contains the name of the other (eg. Name and Name with special treatment...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...
Browsers come with a set of built-in elements like or . When we need a new component not covered by...
If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...
A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...
A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...
There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...
The french Tilt Studio built a caniuse clone for email clients. Note that while checking styling support helps using (or...
ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...
Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...
Projects with more than one developer should always consider to enforce code review even for small changes to improves the...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
Most of the time it is a tedious task to apply a code style guide to an existing code...
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...