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

medium.com

Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...

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

To test that an object was constructed by a given constructor function, use jasmine.any(Klass): describe('plus()', function() { it ('returns...

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

When tests might not run with skipping RSpec in the RSpec.describe failing with the error undefined method 'describe' for main...

makandra dev

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...

api.rubyonrails.org

ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...

Normally, Rails handles encryption and signing of cookies, and you don't have to deal with the matter. Should you...

coffeescript.org contains only documentation for the latest CoffeeScript version. Version 2 transpiles to ES6. We stopped using CoffeeScript a while...

WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...

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

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

github.com

This repository is a community-curated list of flexbox issues and cross-browser workarounds for them. The goal is that...

The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...