When debugging your application, you will come across objects created by some gem or framework. You don't have the...
S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...
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.
Cross-Site Request Forgery (CSRF) is an attack pattern for websites. A CSRF attack is usually relevant in a...
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
Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...
Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...
In a project team for a bigger project people have several roles: Developer: at makandra Project lead: at makandra
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
When you receive a ZIP file from a Windows user, umlauts and other non-latin1 characters in filenames may look...
As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
Why secure-only cookies used to be necessary Cookies have an optional secure flag. It tells the browser to not...
For webpages to load fast it's recommended to optimize images. Ideally an image's file size should be as...
Background information about session storage in Rails Rails has a default mechanism to store the session in the CookieStore. This...
If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use...
To make a local copy of an S3 bucket, I use the s3cmd command line tool. Configure access keys:
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...
TL;DR Append your locale keys with _html to have them marked as html_safe and translate them with = t...
There are two ways within systemd to manage the fact that you need the gluster service active before mounting the...
When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...
By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your...