A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...
Put the following into config.ru in your Rails root folder: # Require your environment file to bootstrap Rails require ::File.dirname(__FILE...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
This might be relevant for us since we're often managing customer documents in our apps. I played around with...
VCR lets you configure how it matches requests to recorded cassettes: In order to properly replay previously recorded requests, VCR...
We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
1. Sometimes you have search entries in the autocomplete of the address bar, which are higher weighted than your bookmarks...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...
Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...
There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...
Ruby's __FILE__ keyword returns the path to the current file. On popular for this are Ruby binaries: #!/usr/bin/env ruby...
We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...
By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
The default Google Analytics might not work as expected with your Unpoly app. This is because your app only has...
So you want to use object-fit, but you also need to support Internet Explorer. One option is to use...
Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...
As you may know, HAML expands data attributes that are given as a hash: %div{ data: { count: 3 } }
The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...
to create a Gallery that has a name and has_many :images, which in turn have a...