Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...
Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...
Web technology is a broad field and you cannot be an expert in all aspects. However, it is useful to...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
We have projects that have been developed using many different versions of Ruby. Since we do not want to...
The rack-contrib gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it...
TLDR: When you put CSS rules into a partial and import that partial multiple times, the CSS rules will be...
Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...
A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...
Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...
Adopting legacy Rails apps Talk to your mentor about how we're approaching applications that are either old or abandoned...
Put the following into config.ru in your Rails root folder: # Require your environment file to bootstrap Rails require ::File.dirname(__FILE...
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...
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...