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...
There are a few ways to access view helpers from the Rails console. The easiest way is the helper shortcut...
You can use constraints in your routes.rb to avoid getting ActionView::MissingTemplate errors when wrong routes are called. Instead, the...
When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...
CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
This favicon generator will guide you to a perfect set of favicon files, suitable for all devices and situations (browser...
Edge (and some versions of Internet Explorer, like IE11) use to render a × clear input button on text fields. While...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...
You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...
Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...